Login Register




The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


Need to create a Keylogger filter_list
Author
Message
Need to create a Keylogger #1
Hey HC Users,

I want to ask one thing that can we create a key logger using JAVA or PASCAL?

if it is only possible using C or C++, can i have a source code of keylogger which starts automatically with system boot.
[Image: cooltext980231940.gif]

Reply

RE: Need to create a Keylogger #2
You can get answers if you search Google but here's one for ya http://forum.codecall.net/topic/59389-ho...r-in-java/
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: Need to create a Keylogger #3
Thanx for your reply, Moderator !

I already knew that creating keylogger with java is not possible yet coz java does not have hardware access but asked this question to confirm.
can i make it using pascal ... i don't know much about C or C++ Sad
[Image: cooltext980231940.gif]

Reply

RE: Need to create a Keylogger #4
From what I know, its IS possible with Java. I wouldn't recommend programming a Java key-logger tho due to limitations and stability. Not sure about PASCAL.

I did some research and found a thread on another forum, here is what I found:
1. implement KeyListener in a class
2. add the methods: keyTyped(KeyEvent e), keyPressed(KeyEvent e), KeyReleased(KeyEvent e), Display(KeyEvent e, String status)
here is the code:
Code:
public class KeyLogger implements KeyListener { /** Handle the key typed event from the text field. */ public void keyTyped(KeyEvent e) { displayInfo(e, "KEY TYPED: "); } /** Handle the key-pressed event from the text field. */ public void keyPressed(KeyEvent e) { displayInfo(e, "KEY PRESSED: "); } /** Handle the key-released event from the text field. */ public void keyReleased(KeyEvent e) { display(e, "KEY RELEASED: "); } private void display(KeyEvent e, String keyStatus){ //You should only rely on the key char if the event //is a key typed event. int id = e.getID(); String keyString; if (id == KeyEvent.KEY_TYPED) { char c = e.getKeyChar(); keyString = "key character = '" + c + "'"; } else { int keyCode = e.getKeyCode(); keyString = "key code = " + keyCode+ " ("+ KeyEvent.getKeyText(keyCode)+ ")"; }//end of if System.out.println(keyString); }//end of display
Source: http://forum.codecall.net/topic/59389-ho...r-in-java/

Regarding a keylogger source, you can try searching HC for "keylogger source", I'm sure you will find something.

-edit
@Ex094 beat me too it.



Reply

RE: Need to create a Keylogger #5
(05-02-2013, 07:26 AM)3r3bu$ Wrote: From what I know, its IS possible with Java. I wouldn't recommend programming a Java key-logger tho due to limitations and stability. Not sure about PASCAL.

I did some research and found a thread on another forum, here is what I found:
1. implement KeyListener in a class
2. add the methods: keyTyped(KeyEvent e), keyPressed(KeyEvent e), KeyReleased(KeyEvent e), Display(KeyEvent e, String status)
here is the code:
Code:
public class KeyLogger implements KeyListener { /** Handle the key typed event from the text field. */ public void keyTyped(KeyEvent e) { displayInfo(e, "KEY TYPED: "); } /** Handle the key-pressed event from the text field. */ public void keyPressed(KeyEvent e) { displayInfo(e, "KEY PRESSED: "); } /** Handle the key-released event from the text field. */ public void keyReleased(KeyEvent e) { display(e, "KEY RELEASED: "); } private void display(KeyEvent e, String keyStatus){ //You should only rely on the key char if the event //is a key typed event. int id = e.getID(); String keyString; if (id == KeyEvent.KEY_TYPED) { char c = e.getKeyChar(); keyString = "key character = '" + c + "'"; } else { int keyCode = e.getKeyCode(); keyString = "key code = " + keyCode+ " ("+ KeyEvent.getKeyText(keyCode)+ ")"; }//end of if System.out.println(keyString); }//end of display
Source: http://forum.codecall.net/topic/59389-ho...r-in-java/

Regarding a keylogger source, you can try searching HC for "keylogger source", I'm sure you will find something.

-edit
@Ex094 beat me too it.

Same reply as mine Smile Good Job :wub:
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: Need to create a Keylogger #6
(05-02-2013, 07:22 AM)virusreloaded Wrote: Thanx for your reply, Moderator !

I already knew that creating keylogger with java is not possible yet coz java does not have hardware access but asked this question to confirm.
can i make it using pascal ... i don't know much about C or C++ Sad

It is possible with Java using JNI. It is just not adviseable. Why would you use a language made for portability if you need operating system specific code?

For keyloggers you are better off using a more low-level language.



(05-02-2013, 07:26 AM)3r3bu$ Wrote: From what I know, its IS possible with Java. I wouldn't recommend programming a Java key-logger tho due to limitations and stability. Not sure about PASCAL.

I did some research and found a thread on another forum, here is what I found:
1. implement KeyListener in a class
2. add the methods: keyTyped(KeyEvent e), keyPressed(KeyEvent e), KeyReleased(KeyEvent e), Display(KeyEvent e, String status)
here is the code:
Code:
public class KeyLogger implements KeyListener { /** Handle the key typed event from the text field. */ public void keyTyped(KeyEvent e) { displayInfo(e, "KEY TYPED: "); } /** Handle the key-pressed event from the text field. */ public void keyPressed(KeyEvent e) { displayInfo(e, "KEY PRESSED: "); } /** Handle the key-released event from the text field. */ public void keyReleased(KeyEvent e) { display(e, "KEY RELEASED: "); } private void display(KeyEvent e, String keyStatus){ //You should only rely on the key char if the event //is a key typed event. int id = e.getID(); String keyString; if (id == KeyEvent.KEY_TYPED) { char c = e.getKeyChar(); keyString = "key character = '" + c + "'"; } else { int keyCode = e.getKeyCode(); keyString = "key code = " + keyCode+ " ("+ KeyEvent.getKeyText(keyCode)+ ")"; }//end of if System.out.println(keyString); }//end of display
Source: http://forum.codecall.net/topic/59389-ho...r-in-java/

Regarding a keylogger source, you can try searching HC for "keylogger source", I'm sure you will find something.

-edit
@Ex094 beat me too it.

That is not a keylogger. It only captures key events within your program. Click outside the window so your program looses focus and it doesn't work anymore.
Stability is not a counter-argument for Java.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: Need to create a Keylogger #7
(05-02-2013, 07:35 AM)Deque Wrote:
(05-02-2013, 07:22 AM)virusreloaded Wrote: Thanx for your reply, Moderator !

I already knew that creating keylogger with java is not possible yet coz java does not have hardware access but asked this question to confirm.
can i make it using pascal ... i don't know much about C or C++ Sad

It is possible with Java using JNI. It is just not adviseable. Why would you use a language made for portability if you need operating system specific code?

For keyloggers you are better off using a more low-level language.



(05-02-2013, 07:26 AM)3r3bu$ Wrote: From what I know, its IS possible with Java. I wouldn't recommend programming a Java key-logger tho due to limitations and stability. Not sure about PASCAL.

I did some research and found a thread on another forum, here is what I found:
1. implement KeyListener in a class
2. add the methods: keyTyped(KeyEvent e), keyPressed(KeyEvent e), KeyReleased(KeyEvent e), Display(KeyEvent e, String status)
here is the code:
Code:
public class KeyLogger implements KeyListener { /** Handle the key typed event from the text field. */ public void keyTyped(KeyEvent e) { displayInfo(e, "KEY TYPED: "); } /** Handle the key-pressed event from the text field. */ public void keyPressed(KeyEvent e) { displayInfo(e, "KEY PRESSED: "); } /** Handle the key-released event from the text field. */ public void keyReleased(KeyEvent e) { display(e, "KEY RELEASED: "); } private void display(KeyEvent e, String keyStatus){ //You should only rely on the key char if the event //is a key typed event. int id = e.getID(); String keyString; if (id == KeyEvent.KEY_TYPED) { char c = e.getKeyChar(); keyString = "key character = '" + c + "'"; } else { int keyCode = e.getKeyCode(); keyString = "key code = " + keyCode+ " ("+ KeyEvent.getKeyText(keyCode)+ ")"; }//end of if System.out.println(keyString); }//end of display
Source: http://forum.codecall.net/topic/59389-ho...r-in-java/

Regarding a keylogger source, you can try searching HC for "keylogger source", I'm sure you will find something.

-edit
@Ex094 beat me too it.

That is not a keylogger. It only captures key events within your program. Click outside the window so your program looses focus and it doesn't work anymore.
Stability is not a counter-argument for Java.

Yeah , that's what i was confused about i have worked on a java project and implemented key listener. what keylistener does is listening keys pressed within the JFrame when wi click out side and press key it'll not be able to fetch keys pressed.

I am thinking of creating victim IP Monitor, the app will send mail to the attacker containing sysinfo and IP address after every 5-10 minutes. This will help us to attack victims system even if he/she is having dynamic IP.

is anyone of you interested?
i would love getting help from you people Smile
[Image: cooltext980231940.gif]

Reply

RE: Need to create a Keylogger #8
Well if you want a keylogger in VB.NET then I can help you with a fully functional keylogger and it can be offline or online
[Image: OilyCostlyEwe.gif]

Reply

RE: Need to create a Keylogger #9
But i don't know Vb.NET or C/C++/C# Sad
I think i need to learn those languages too

Started working on IP monitor, will let you people know if i face any problem or get it completed. Will definitely share with some of the trusted HC Users Wink
[Image: cooltext980231940.gif]

Reply

RE: Need to create a Keylogger #10
(05-02-2013, 08:06 AM)virusreloaded Wrote: I am thinking of creating victim IP Monitor, the app will send mail to the attacker containing sysinfo and IP address after every 5-10 minutes. This will help us to attack victims system even if he/she is having dynamic IP.

is anyone of you interested?
i would love getting help from you people Smile

We are always willing to help if you ask for specific problems.

(05-02-2013, 08:16 AM)virusreloaded Wrote: But i don't know Vb.NET or C/C++/C# Sad
I think i need to learn those languages too

Started working on IP monitor, will let you people know if i face any problem or get it completed. Will definitely share with some of the trusted HC Users Wink

Yes, keep us updated.
Which language did you decide for?

What implementation of Pascal are you using (Delphi, Turbo, ...)?

As it seems you are able to do keyboard hooks: http://delphi.about.com/od/windowsshella...d_hook.htm
So you could make a simple keylogger with Pascal.

Edit: Here is a JNI based keyboard and mouse hook (Java): http://kra.lc/blog/2011/07/java-global-system-hook/
You can use this as library.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply