Hack Forums
[.NET] Need helping making a builder for keylogger! (Easy) - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Need helping making a builder for keylogger! (Easy) (/showthread.php?tid=3281890)



Need helping making a builder for keylogger! (Easy) - Goodies - Feb 24, 2013

I know it may be a semi-beginner question, but I want to start getting into client/server application making.

How do I build a server from the application??


* - ScΛrƒΛc3_ - Feb 24, 2013

I don't understand if you need a client/server, in terms of Networking application..or..(considering you wrote "Keylogger") you need an application that generates a "Server"..Stub.

In the first case i suggest you to look into using a TcpClient..Serialization..Delegates..and stuff like that.

In the second case, you need to write your stub with all the functions you need, next you can activate your function by a config file appending it to your Stub (basic way) or manipulate variables and generate your stub directly from is source by using Codedom.

Let's say you are going to use settings with one option only, imagine you have in your Builder a checkbox to select if your Stub will have yuor option activated or not, ...and a button to generate your Stub.

Code
Private Sub GenerateServerButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GenerateServerButton.Click

Dim splitter as strig =  "splitter"
Dim settings As String = ""
if optioncheckboxes.checked = true then settings &= "True" & splitter else  settings &= "False"
IO.File.AppendAllText(you stub path*, settings)

*your stub path could came from a savefilefialog, or a file extracted from your builder resorces, or a specific file

Now, in your stub in the main Sub you can read settings as this:

Code
dim splitter as string = "splitter"
Try
    Dim data As String = IO.File.ReadAllText(Application.ExecutablePath)
    Dim settings() As String = Split(data, splitter)

Dim optionactivated as string =  settings(1)
If optionactivated = "True" then
yourfunction()
end if

catch
end try

This is the very basic way to go..there could be some error in my example, i wrote it fast, but i hope it will give you a good start.


* - Goodies - Feb 24, 2013

(Feb 24, 2013 08:34 AM)Scarfac3_ Wrote:  Spoiler (Click to View)

It helped a lot! Thanks so much man I really appreciate it!


* - ScΛrƒΛc3_ - Feb 24, 2013

You are wellcome, glad it helped... ;)


* - Goodies - Feb 24, 2013

(Feb 24, 2013 12:18 PM)Scarfac3_ Wrote:  You are wellcome, glad it helped... ;)

That 'basic' way I will try at first then move on later.


* - Yui Asuna - Feb 24, 2013

The EOF method isn't technically bad, it's just old, and AV will most likely pick it up.
I don't know if what you want to achieve is for bad intentions or not, but it will be better for you to have a look at CodeDom.


* - ScΛrƒΛc3_ - Feb 24, 2013

(Feb 24, 2013 01:11 PM)PsyCh0TyK Wrote:  The EOF method isn't technically bad, it's just old, and AV will most likely pick it up.
I don't know if what you want to achieve is for bad intentions or not, but it will be better for you to have a look at CodeDom.

Yes anyway for strings EOF have never given me problems with AV, but is better to encrypt the strings expecially if you have to declare proces names (like system one) or sensible directories.


* - Invicta - Feb 24, 2013

Look into byte replacement.

https://hackforums.net/showthread.php?tid=680003