I am making a Keylogger for my sons computer as a project for my college course in programming. He said code one program of use so here it is. I have all the code and Stub set up but I need to make the builder be able to see those settings and apply them.
E.g. In the builder I have Process Persistence so it can not be killed on his computer with Task Manager. There is a checkbox in the builder and I need a If statement inside the stub to tell if the ProcessPersistence.Checked = True or False so it can react in the Stub. I have been all over Google looking for code w/ no luck. Please help!
I am looking to make private subs and a couple of Booleans that need to determine settings on another program.
I am using this to pull data:
FileOpen(1, Application.ExecutablePath, OpenMode.Binary, OpenAccess.Read, OpenShare.Shared)
FileGet(1, ProcessPersistence)
FileGet(1, NameOfSub)
FileGet(1, NameOfSub)
FileGet(1, NameOfSub)
FileGet(1, NameOfSub)
FileClose(1)
And using this to save data: But it is not working for some reason
FileOpen(1, Application.StartupPath & "\WhatINeedToSaveInto.exe", OpenMode.Binary, OpenAccess.Read, OpenShare.Default)
NameOfProgramToMake = Space(LOF(1))
FileGet(1, NameOfProgramToMake)
FileClose(1)
FileOpen(1, saveit.FileName, OpenMode.Binary, OpenAccess.ReadWrite, OpenShare.Default)
FilePut(1, NameOfSub, NameOfSub, NameOfSub, NameOfSub)
FileClose(1)
PLEASE EXPLAIN ALL CODE! I am learning and copy-pasting will not help me learn a thing!


Reply With Quote

