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

Proxy Finder

Home General Computer Multimedia Business Lounge

Pages (2): « Previous 1 2
Post Reply 
Tweet
Threaded Mode | Linear Mode
Proxy Finder
08-12-2011, 06:17 PM
Post: #11
~c()k3~ Offline
./Devilz Advisor
Posts: 707
Joined: Mar 2010
Reputation: 2
RE: Proxy Finder
(08-10-2011 09:46 PM)schumbag Wrote:  kayaknya pernah nemu yang serupa deh di darkc0de ntah ane yg lupa atau itu yg berbeda nohope
but,keep post om TS hore

Ane cuma repost dari user ini om :)
http://forum.id-backtrack.com/member.php...le&uid=254
Visit this user's website Find all posts by this user
Quote this message in a reply
08-13-2011, 01:12 AM
Post: #12
RR12 Offline
./Devilz 1st Cadet
Posts: 5
Joined: May 2011
Reputation: 0
RE: Proxy Finder
(08-10-2011 09:46 PM)schumbag Wrote:  kayaknya pernah nemu yang serupa deh di darkc0de ntah ane yg lupa atau itu yg berbeda nohope
but,keep post om TS hore

Krena kebetulan itu script ane yg ane post di IBT !!! hmmmm klo mank ada yg sama persis wahhhh dah kebetulan banget tuuhh !!! n ane pikir mustahil deh !!! tapi mank script2 proxy finder dah berhamburan banyak di internet !! cntohnya tools pyProxy nya om gunslinger (asliii pyProxy nya kerenn bangeet tuuhh wawa )!! n disini ane cuman pake metode regexnya python, n ini asli regex logic ane sendiri !!! jadi mungkin mustahil kali yahh om ada yg sama percisss !!!!! pasrah
Visit this user's website Find all posts by this user
Quote this message in a reply
08-13-2011, 02:07 AM
Post: #13
Shamus Offline
DC Senior
***
Posts: 137
Joined: Mar 2010
Reputation: 11
RE: Proxy Finder
ini ada file outputnya seperti pyproxy ga mas ?! :)


thx.
Shamus
Visit this user's website Find all posts by this user
Quote this message in a reply
08-13-2011, 10:25 PM
Post: #14
RR12 Offline
./Devilz 1st Cadet
Posts: 5
Joined: May 2011
Reputation: 0
RE: Proxy Finder
(08-13-2011 02:07 AM)Shamus Wrote:  ini ada file outputnya seperti pyproxy ga mas ?! :)


thx.
Shamus

awalnya seh gag bisa tapi krn teman2 di IBT kasih saran jadi ane tambahin deh spy bisa nyimpan file ! n ini dy scriptnya !
Code:
#!/usr/bin/env python
import re, sys, os
from time import sleep, ctime
import urllib

baca=''
hasil=''
if os.name in ['nt', 'win32']:
        os.system('cls')
else:
        os.system('clear')
print '''
___ ____ _____
|_ _| __ )_   _|
| ||  _ \ | |  
| || |_) || |  
|___|____/ |_|  c0d3r by : RR12

    '''
    
#Pilihan
print '[1] Indonesian Proxy'
print '[2] Other Proxy'
print '[3] Exit'
pilihan = raw_input('[+] Enter your choice ! (1/2/3) ? ')
if pilihan=='1':
    halaman='http://nntime.com/proxy-country/Indonesia-01.htm'
elif pilihan=='2':
    halaman='http://nntime.com/proxy-list-01.htm'
elif pilihan=='3':
    sys.exit('[*] Exit')
print '[+] Try Connecting ...'
try:
    url=urllib.urlopen(halaman).read()
except:
    print '[*] Failed to connect !'
    sys.exit('[*] Check your internet connection !')

#salin halaman
for isi in url:
        baca+=isi    
print '[+] Connected !'
sleep(2)
print '[+] Fresh Proxy List !! Enjoy it !!'

# judul
judul='''
-----------------------------------------------------------------------------------
IP Address:Port\t\t Anonimity Type\t Updated\t Registered To
-----------------------------------------------------------------------------------
'''
print judul

#cari IP Address & Port
cari_IP = re.findall(r'td>\d+\.\d+\.\d+\.\d+<',baca)
ip=[]
for i in cari_IP:
    ip.append(i[3:-1])
cari_port = re.findall(r'value="\d*.\d*\.\d*\.\d*" onclick',baca)
port=[]
pan=[]
j=0
cari_pan = re.findall(r'":".*\)',baca)
for i in cari_pan:
    pan.append(i[3:-1])
    
for i in cari_port:
    batas = -9 - len(pan[j])/2
    port.append(i[batas:-9])
    j+=1

#cari tipe proxy
cari_tipe=re.findall(r'<td>\w+\W\w+</td>|<td>\w+\s</td>',baca)
tipe=[]
n=0
for i in cari_tipe:
    if i[4:-5]=='transparent proxy':
        i='transparent '
        tipe.append(i)
    else:
        tipe.append(i[4:-5])
    
#cari update
cari_update = re.findall(r'GMT">.*</dfn>',baca)
update=[]
for i in cari_update:
    update.append(i[5:-6])

#cari org
cari_org = re.findall(r'organization">.*</td>',baca)
org=[]
for i in cari_org:
    org.append(i[14:-5])

try:
    for rr in range(0,(len(ip)-1)):
        a = ip[rr]+':'+ port[rr] + '\t' + tipe[rr] + '\t' + update[rr] + '\t' + org[rr]
        print a
        hasil = hasil + '\n' + a
        sleep(1)
except KeyboardInterrupt:
    print '\n[+] Exit !'
    sleep(1)
    sys.exit(1)

#cari tanggal update
tanggal=re.search(r'Updated \w+.*Total',baca)
tanggal=tanggal.group()
tanggal='''
-----------------------------------------------------------------------------------\n''' + tanggal[:-5] + '''
-----------------------------------------------------------------------------------
'''
print tanggal

simpan = raw_input('[+] Do you want to save the result ? [y/n] ')
if simpan=='y':
    nama_file = raw_input('[+] Please input your filename : ')
    try:
        nama_file = open(nama_file,'w')
        nama_file.writelines(judul)
        nama_file.writelines(hasil)
        nama_file.writelines(tanggal)
        nama_file.close()
        print '[+] File have been saved succesfully!'
    except:
        print '[*] Failed to save file!'
else:
    sys.exit('[+] Exit')
belajar

[Image: 22j0wi.jpg]
pasrah
Visit this user's website Find all posts by this user
Quote this message in a reply
08-13-2011, 10:28 PM (This post was last modified: 08-13-2011 10:32 PM by hakimoxz.)
Post: #15
hakimoxz Offline
./Devilz Advisor
Posts: 782
Joined: Jul 2011
Reputation: 37
RE: Proxy Finder
keren....
[Image: 22j0wi.jpg]
boleh di coba nih.......... lumayan nambah kecepatan .....
Visit this user's website Find all posts by this user
Quote this message in a reply
08-13-2011, 10:30 PM
Post: #16
RR12 Offline
./Devilz 1st Cadet
Posts: 5
Joined: May 2011
Reputation: 0
RE: Proxy Finder
(08-13-2011 10:28 PM)hakimoxz Wrote:  keren....[Image: 22j0wi.jpg]
boleh di coba nih.......... lumayan nambah kecepatan .....

monggo om !! hore
Visit this user's website Find all posts by this user
Quote this message in a reply
08-14-2011, 02:37 AM
Post: #17
Shamus Offline
DC Senior
***
Posts: 137
Joined: Mar 2010
Reputation: 11
RE: Proxy Finder
sudah di tambahin ya, kemaren aya coba belum ada kq.. :P


thx.
Shamus
Visit this user's website Find all posts by this user
Quote this message in a reply
08-14-2011, 04:52 AM
Post: #18
lionel Offline
./ngeFans@DC
Posts: 484
Joined: Jan 2010
Reputation: 8
RE: Proxy Finder
(08-13-2011 10:25 PM)RR12 Wrote:  
(08-13-2011 02:07 AM)Shamus Wrote:  ini ada file outputnya seperti pyproxy ga mas ?! :)


thx.
Shamus

awalnya seh gag bisa tapi krn teman2 di IBT kasih saran jadi ane tambahin deh spy bisa nyimpan file ! n ini dy scriptnya !
Code:
#!/usr/bin/env python
import re, sys, os
from time import sleep, ctime
import urllib

baca=''
hasil=''
if os.name in ['nt', 'win32']:
        os.system('cls')
else:
        os.system('clear')
print '''
___ ____ _____
|_ _| __ )_   _|
| ||  _ \ | |  
| || |_) || |  
|___|____/ |_|  c0d3r by : RR12

    '''
    
#Pilihan
print '[1] Indonesian Proxy'
print '[2] Other Proxy'
print '[3] Exit'
pilihan = raw_input('[+] Enter your choice ! (1/2/3) ? ')
if pilihan=='1':
    halaman='http://nntime.com/proxy-country/Indonesia-01.htm'
elif pilihan=='2':
    halaman='http://nntime.com/proxy-list-01.htm'
elif pilihan=='3':
    sys.exit('[*] Exit')
print '[+] Try Connecting ...'
try:
    url=urllib.urlopen(halaman).read()
except:
    print '[*] Failed to connect !'
    sys.exit('[*] Check your internet connection !')

#salin halaman
for isi in url:
        baca+=isi    
print '[+] Connected !'
sleep(2)
print '[+] Fresh Proxy List !! Enjoy it !!'

# judul
judul='''
-----------------------------------------------------------------------------------
IP Address:Port\t\t Anonimity Type\t Updated\t Registered To
-----------------------------------------------------------------------------------
'''
print judul

#cari IP Address & Port
cari_IP = re.findall(r'td>\d+\.\d+\.\d+\.\d+<',baca)
ip=[]
for i in cari_IP:
    ip.append(i[3:-1])
cari_port = re.findall(r'value="\d*.\d*\.\d*\.\d*" onclick',baca)
port=[]
pan=[]
j=0
cari_pan = re.findall(r'":".*\)',baca)
for i in cari_pan:
    pan.append(i[3:-1])
    
for i in cari_port:
    batas = -9 - len(pan[j])/2
    port.append(i[batas:-9])
    j+=1

#cari tipe proxy
cari_tipe=re.findall(r'<td>\w+\W\w+</td>|<td>\w+\s</td>',baca)
tipe=[]
n=0
for i in cari_tipe:
    if i[4:-5]=='transparent proxy':
        i='transparent '
        tipe.append(i)
    else:
        tipe.append(i[4:-5])
    
#cari update
cari_update = re.findall(r'GMT">.*</dfn>',baca)
update=[]
for i in cari_update:
    update.append(i[5:-6])

#cari org
cari_org = re.findall(r'organization">.*</td>',baca)
org=[]
for i in cari_org:
    org.append(i[14:-5])

try:
    for rr in range(0,(len(ip)-1)):
        a = ip[rr]+':'+ port[rr] + '\t' + tipe[rr] + '\t' + update[rr] + '\t' + org[rr]
        print a
        hasil = hasil + '\n' + a
        sleep(1)
except KeyboardInterrupt:
    print '\n[+] Exit !'
    sleep(1)
    sys.exit(1)

#cari tanggal update
tanggal=re.search(r'Updated \w+.*Total',baca)
tanggal=tanggal.group()
tanggal='''
-----------------------------------------------------------------------------------\n''' + tanggal[:-5] + '''
-----------------------------------------------------------------------------------
'''
print tanggal

simpan = raw_input('[+] Do you want to save the result ? [y/n] ')
if simpan=='y':
    nama_file = raw_input('[+] Please input your filename : ')
    try:
        nama_file = open(nama_file,'w')
        nama_file.writelines(judul)
        nama_file.writelines(hasil)
        nama_file.writelines(tanggal)
        nama_file.close()
        print '[+] File have been saved succesfully!'
    except:
        print '[*] Failed to save file!'
else:
    sys.exit('[+] Exit')
belajar

[Image: 22j0wi.jpg]
pasrah
mantap mantap
ane dah coba berhasil....thankz ya bro....
asik
Find all posts by this user
Quote this message in a reply
08-14-2011, 05:06 AM
Post: #19
Shamus Offline
DC Senior
***
Posts: 137
Joined: Mar 2010
Reputation: 11
RE: Proxy Finder
udah di coba dan work.. :)
request lagi kalo bisa, list nya di tambahin lagi donk.. :P
seperti :
- http://hidemyass.com/proxy-list/
- http://www.xroxy.com/proxylist.htm
- http://sockslist.net/
- http://www.proxylists.net/
- http://proxyhttp.net/free-list/anonymous...p-address/
- http://myproxylists.com/proxy-indonesia-socks-list
- http://www.samair.ru/proxy/type-01.htm
- dll.
biar hasilnya lebih banyak.. :P


thx.
Shamus
Visit this user's website Find all posts by this user
Quote this message in a reply
08-15-2011, 01:51 PM
Post: #20
RR12 Offline
./Devilz 1st Cadet
Posts: 5
Joined: May 2011
Reputation: 0
RE: Proxy Finder
(08-14-2011 05:06 AM)Shamus Wrote:  udah di coba dan work.. :)
request lagi kalo bisa, list nya di tambahin lagi donk.. :P
seperti :
- http://hidemyass.com/proxy-list/
- http://www.xroxy.com/proxylist.htm
- http://sockslist.net/
- http://www.proxylists.net/
- http://proxyhttp.net/free-list/anonymous...p-address/
- http://myproxylists.com/proxy-indonesia-socks-list
- http://www.samair.ru/proxy/type-01.htm
- dll.
biar hasilnya lebih banyak.. :P


thx.
Shamus

weeewwww kayaknya banyak tuh omm !!!! dead
ntar dehh ane cobaa !!! belajar
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (2): « Previous 1 2
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

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 05-25-2013, 08:01 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