Accueil > > > MARRE DE COPIER/COLLER LES PROXYS ?
MARRE DE COPIER/COLLER LES PROXYS ?
Information sur la source
Description
Voila, si, comme moi vous allez chercher regulierement des proxys sur internet avant de verifier si ils sont compatibles avec l'IRC, je vous propose de vous simplifier la vie grace a ce simple code qui fait gagner beaucoup de temps ! Note: La majorité des proxys sont chagé depuis www.StayINVISIBLE.com Alias de lancement : /Proxy_DL
Source
- ;
- ;
- ; Auto Proxy Downloader
- ;
- ;
-
- alias proxy_dl {
- if (!$dialog(proxyD)) dialog -md proxyD proxyD
- else dialog -v proxyD
- }
- dialog proxyD {
- title "Auto-Proxy Downloader"
- size -1 -1 95 213
- option dbu
- edit "", 1, 3 9 87 145, multi return autohs autovs hsbar vsbar
- box "Liste de proxys", 2, 2 1 92 157
- button "DOWNLOADER !", 3, 2 160 91 12, flat
- button "Enregistrer", 4, 2 173 91 12, flat
- button "EFFACER", 5, 2 187 91 12, flat
- button "Fermer", 6, 25 202 42 10, flat ok
- }
- on *:dialog:proxyD:edit:1: did -ra proxyD 2 Liste de proxys ( $+ $did(proxyD,1).lines $+ )
- on *:dialog:proxyD:sclick:* {
- if ( $did == 3 ) STI_DL_START
- if ( $did == 5 ) {
- did -ra proxyD 2 Liste de proxys (0)
- did -r proxyD 1
- }
- if ( $did == 4 ) {
- set %proxyD.ext.file $$?=="Nom du fichier de sortie ?"
- var %i 0
- while ( %i < $did(proxyD,1).lines ) {
- if ( $did(proxyD,1,%i) ) .write %proxyD.ext.file $did(proxyD,1,%i)
- inc %i
- }
- }
- }
- alias STI_DL_START {
- did -b proxyD 3
- set %actupage -1
- set %current_web STI
- STI_DL | STI_DL | STI_DL | STI_DL | STI_DL | STI_DL | STI_DL | STI_DL
- }
- alias STI_DL {
- if ( %current_web == STI ) {
- sockopen STI_DL $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) www.Stayinvisible.com 80
- }
- if ( %current_web == area ) {
- sockopen STI_AREA $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) www.steganos.com 80
- }
- if ( %current_web == p4f ) {
- sockopen STI_PROXY4FREE $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) www.proxy4free.com 80
- }
- }
-
- on *:sockopen:STI_DL*: {
- inc %actupage
- sockwrite -n $sockname GET http://www.stayinvisible.com/index.pl/proxy_list?offset= $+ $calc( %actupage * 100 ) HTTP/1.0
- sockwrite -n $sockname $CRLF $+ $CRLF
- }
- on *:sockopen:STI_AREA*: {
- inc %actupage
- sockwrite -n $sockname GET http://www.steganos.com/?area=updateproxylist HTTP/1.0
- sockwrite -n $sockname $CRLF $+ $CRLF
- }
- on *:sockopen:STI_PROXY4FREE*: {
- inc %actupage
- sockwrite -n $sockname GET http://www.proxy4free.com/page $+ $calc( %actupage - 19 ) $+ .html HTTP/1.0
- sockwrite -n $sockname $CRLF $+ $CRLF
- }
-
- on *:sockread:STI_DL*:{
- sockread %a
- var %td $eval(<td>,0)
- if ( %td isin %a ) && ( javascript !isin %a ) {
- var %current_line $remove(%a,<td>,</td>)
- var %current_remove $remove(%current_line,.)
- if ( $gettok(%current_line,0,46) == 4 ) set %current_ip %current_line
- if ( $remove(%current_remove,$CRLF,$chr(32),\n,\r) isnum ) {
- if ( $gettok(%current_line,0,46) == 1 ) {
- if ( %current_line ) did -i proxyD 1 1 %current_ip %current_line
- did -ra proxyD 2 Liste de proxys ( $+ $did(proxyD,1).lines $+ )
- }
- }
- }
- unset %a
- }
- on *:sockread:STI_PROXY4FREE*:{
- sockread %a
- var %td $eval(<td>,0)
- if ( %td isin %a ) && ( javascript !isin %a ) {
- var %current_line $remove(%a,<td>,</td>)
- var %current_remove $remove(%current_line,.)
- if ( $gettok(%current_line,0,46) == 4 ) set %current_ip %current_line
- if ( $remove(%current_remove,$CRLF,$chr(32),\n,\r) isnum ) {
- if ( $gettok(%current_line,0,46) == 1 ) {
- if ( %current_line ) did -i proxyD 1 1 %current_ip %current_line
- did -ra proxyD 2 Liste de proxys ( $+ $did(proxyD,1).lines $+ )
- }
- }
- }
- unset %a
- }
- on *:sockread:STI_AREA*: {
- sockread %a
- if ( $remove(%a,\r,\n,$CRLF,.,:) isnum) {
- did -i proxyD 1 1 $replace($remove(%a,\r,\n,$CRLF),:,$chr(32))
- did -ra proxyD 2 Liste de proxys ( $+ $did(proxyD,1).lines $+ )
- }
- unset %a
- }
- on *:sockclose:STI_DL*: {
- if ( %actupage <= 18 ) {
- STI_DL
- }
- if ( %actupage == 19 ) {
- set %current_web area
- STI_DL
- }
- if ( %current_web == p4f ) STI_DL
- }
- on *:sockclose:STI_AREA*: {
- set %current_web p4f
- STI_DL
- }
- on *:sockclose:STI_PROXY4FREE*: {
- if ( %actupage >= 29 ) did -e proxyD 3
- if ( %actupage < 29 ) STI_DL
- }
;
;
; Auto Proxy Downloader
;
;
alias proxy_dl {
if (!$dialog(proxyD)) dialog -md proxyD proxyD
else dialog -v proxyD
}
dialog proxyD {
title "Auto-Proxy Downloader"
size -1 -1 95 213
option dbu
edit "", 1, 3 9 87 145, multi return autohs autovs hsbar vsbar
box "Liste de proxys", 2, 2 1 92 157
button "DOWNLOADER !", 3, 2 160 91 12, flat
button "Enregistrer", 4, 2 173 91 12, flat
button "EFFACER", 5, 2 187 91 12, flat
button "Fermer", 6, 25 202 42 10, flat ok
}
on *:dialog:proxyD:edit:1: did -ra proxyD 2 Liste de proxys ( $+ $did(proxyD,1).lines $+ )
on *:dialog:proxyD:sclick:* {
if ( $did == 3 ) STI_DL_START
if ( $did == 5 ) {
did -ra proxyD 2 Liste de proxys (0)
did -r proxyD 1
}
if ( $did == 4 ) {
set %proxyD.ext.file $$?=="Nom du fichier de sortie ?"
var %i 0
while ( %i < $did(proxyD,1).lines ) {
if ( $did(proxyD,1,%i) ) .write %proxyD.ext.file $did(proxyD,1,%i)
inc %i
}
}
}
alias STI_DL_START {
did -b proxyD 3
set %actupage -1
set %current_web STI
STI_DL | STI_DL | STI_DL | STI_DL | STI_DL | STI_DL | STI_DL | STI_DL
}
alias STI_DL {
if ( %current_web == STI ) {
sockopen STI_DL $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) www.Stayinvisible.com 80
}
if ( %current_web == area ) {
sockopen STI_AREA $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) www.steganos.com 80
}
if ( %current_web == p4f ) {
sockopen STI_PROXY4FREE $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) www.proxy4free.com 80
}
}
on *:sockopen:STI_DL*: {
inc %actupage
sockwrite -n $sockname GET http://www.stayinvisible.com/index.pl/proxy_list?offset= $+ $calc( %actupage * 100 ) HTTP/1.0
sockwrite -n $sockname $CRLF $+ $CRLF
}
on *:sockopen:STI_AREA*: {
inc %actupage
sockwrite -n $sockname GET http://www.steganos.com/?area=updateproxylist HTTP/1.0
sockwrite -n $sockname $CRLF $+ $CRLF
}
on *:sockopen:STI_PROXY4FREE*: {
inc %actupage
sockwrite -n $sockname GET http://www.proxy4free.com/page $+ $calc( %actupage - 19 ) $+ .html HTTP/1.0
sockwrite -n $sockname $CRLF $+ $CRLF
}
on *:sockread:STI_DL*:{
sockread %a
var %td $eval(<td>,0)
if ( %td isin %a ) && ( javascript !isin %a ) {
var %current_line $remove(%a,<td>,</td>)
var %current_remove $remove(%current_line,.)
if ( $gettok(%current_line,0,46) == 4 ) set %current_ip %current_line
if ( $remove(%current_remove,$CRLF,$chr(32),\n,\r) isnum ) {
if ( $gettok(%current_line,0,46) == 1 ) {
if ( %current_line ) did -i proxyD 1 1 %current_ip %current_line
did -ra proxyD 2 Liste de proxys ( $+ $did(proxyD,1).lines $+ )
}
}
}
unset %a
}
on *:sockread:STI_PROXY4FREE*:{
sockread %a
var %td $eval(<td>,0)
if ( %td isin %a ) && ( javascript !isin %a ) {
var %current_line $remove(%a,<td>,</td>)
var %current_remove $remove(%current_line,.)
if ( $gettok(%current_line,0,46) == 4 ) set %current_ip %current_line
if ( $remove(%current_remove,$CRLF,$chr(32),\n,\r) isnum ) {
if ( $gettok(%current_line,0,46) == 1 ) {
if ( %current_line ) did -i proxyD 1 1 %current_ip %current_line
did -ra proxyD 2 Liste de proxys ( $+ $did(proxyD,1).lines $+ )
}
}
}
unset %a
}
on *:sockread:STI_AREA*: {
sockread %a
if ( $remove(%a,\r,\n,$CRLF,.,:) isnum) {
did -i proxyD 1 1 $replace($remove(%a,\r,\n,$CRLF),:,$chr(32))
did -ra proxyD 2 Liste de proxys ( $+ $did(proxyD,1).lines $+ )
}
unset %a
}
on *:sockclose:STI_DL*: {
if ( %actupage <= 18 ) {
STI_DL
}
if ( %actupage == 19 ) {
set %current_web area
STI_DL
}
if ( %current_web == p4f ) STI_DL
}
on *:sockclose:STI_AREA*: {
set %current_web p4f
STI_DL
}
on *:sockclose:STI_PROXY4FREE*: {
if ( %actupage >= 29 ) did -e proxyD 3
if ( %actupage < 29 ) STI_DL
}
Conclusion
(Si vous trouvez que c'est un petit peu codé a l'arrache j'en suis désolé ;-) )
Historique
- 06 janvier 2005 21:49:36 :
- 06 janvier 2005 21:51:18 :
- 06 janvier 2005 23:07:10 :
- 06 janvier 2005 23:23:43 :
- Petite modif (Desactivation du bouton DOWNLOADER pendant le transfert)
- 07 janvier 2005 22:13:11 :
- - Ajout du telechargement des proxys de Proxy4Free
- 10 janvier 2005 21:40:49 :
- Voilou Zova, j'ai pris en compte tes suggestions et j'ai modifié deux trois trucs, notamment utilisé MDX.
Sources du même auteur
Sources de la même categorie
Commentaires et avis
|
Derniers Blogs
TECHDAYS PARIS 2012 : SYSTEM CENTER SERVICE MANAGER 2012 VUE D'ENSEMBLETECHDAYS PARIS 2012 : SYSTEM CENTER SERVICE MANAGER 2012 VUE D'ENSEMBLE par ROMELARD Fabrice
Speakers: Julien Marechal, Gautier Confiant, Sébastien MEYER La session débute par le positionnement de la solution System Center par rapport aux concepts d'organisation ITIL. Le portail du catalogue de se...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice TECHDAYS PARIS 2012 : PLEINIèRE SECOND JOURTECHDAYS PARIS 2012 : PLEINIèRE SECOND JOUR par ROMELARD Fabrice
Après une première journée dédiée aux développeurs, cette seconde journée est dédiée au monde des entreprises et de ses applications. Ainsi, cette pleinière est dédiée à faire un 360 de l'évolution des applications Business aux demandes ac...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice TECHDAYS PARIS 2012 : RETOUR D'EXPéRIENCE SUR LA MISE EN PLACE D'UN CLOUD PRIVéTECHDAYS PARIS 2012 : RETOUR D'EXPéRIENCE SUR LA MISE EN PLACE D'UN CLOUD PRIVé par ROMELARD Fabrice
Speaker : Guillaume Rochette Cette session est dédiée à fournir le retour sur la mise en place d'un cloud privé (IaaS) par Osiatis pour son compte ou celui de ses clients. Ce projet s'est déroulé sur 4 mois et a permis de faire évoluer...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice TECHDAYS PARIS 2012 : COMMENT SHAREPOINT A SAUVé MES TECHDAYSTECHDAYS PARIS 2012 : COMMENT SHAREPOINT A SAUVé MES TECHDAYS par ROMELARD Fabrice
Speakers : Lionel Limozin et Alain Marty La session commence par une découverte de SharePoint à travers la mise en place d'un environnement SharePoint pour la gestion des Sessions animées par BeWise. Le besoin est très ba...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice PERSPECTIVE 3.0 POUR SILVERLIGHT 5.0PERSPECTIVE 3.0 POUR SILVERLIGHT 5.0 par odewit
Je viens de publier la version 3.0 de Perspective pour Silverlight, qui regroupe un portage sous Silverlight 5.0 des fonctionnalités de Perspective 2.0, le framework 3D de haut-niveau introduit récemment et de nouveaux exemples de code. En voici la li...
Cliquez pour lire la suite de l'article par odewit
Forum
RE : AIDERE : AIDE par Nico26000
Cliquez pour lire la suite par Nico26000 RE : AIDERE : AIDE par WorldDMT
Cliquez pour lire la suite par WorldDMT AIDEAIDE par Nico26000
Cliquez pour lire la suite par Nico26000
Logiciels
Academy System (17.2.1.0)ACADEMY SYSTEM (17.2.1.0)Logiciel de gestion des établissements.
- élèves/étudiants (inscription, dossier, absence...)
-... Cliquez pour télécharger Academy System Easy-Planning (1.0.0.1)EASY-PLANNING (1.0.0.1)Basé sur les mêmes principes que MyPlanning, Easy-Planning permet de créer des plannings sous la ... Cliquez pour télécharger Easy-Planning COLLECTOR PLUS (3.00B)COLLECTOR PLUS (3.00B)COLLECTOR PLUS version 3.00B est un logiciel utilisant une base de données alimentée par :
- L... Cliquez pour télécharger COLLECTOR PLUS PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V7.4)PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V7.4)PONAMEDIA TV DEVIENS HELLLOOO FLASH
LA TV SUR VOTRE ORDINATEUR.
Toute une plateforme Multi... Cliquez pour télécharger PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO LettresFaciles 2011 (8.0.0.1)LETTRESFACILES 2011 (8.0.0.1)LettresFaciles est un logiciel facilitant la création et la rédaction de lettres types.
Son inte... Cliquez pour télécharger LettresFaciles 2011
|