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
UNE JOLIE-HORLOGE ET PAS QU'UN PEU !UNE JOLIE-HORLOGE ET PAS QU'UN PEU ! par neodante
Pour les possesseurs d'iPhone, ça y est Bijin Tokei - qui se traduit littéralement en Français par " Jolie Horloge " - est arrivé et GRATUITEMENT s'il vous plaît ! Après la version Tokyo, Hokkaido, night club, racing, Gal, "pour les mademoiselles'", . voi...
Cliquez pour lire la suite de l'article par neodante TECHDAYS PARIS 2010 : CONNECTEZ VOS DONNéES à SHAREPOINT 2010 AVEC LES BUSINESS CONNECTIVITY SERVICESTECHDAYS PARIS 2010 : CONNECTEZ VOS DONNéES à SHAREPOINT 2010 AVEC LES BUSINESS CONNECTIVITY SERVICES par ROMELARD Fabrice
Animé par: Gaetan Bouveret et Julien Chomarat Business Connectivity Services (BCS) est dans SharePoint 2010 la version 2 de Business Data Catalog (BDC dans SharePoint 2007). Il s'agit de la solution permettant de visualiser des données provenan...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice [DIVERS] SUIVRE VOS SéRIES PRéFéRéS SUR LA TOILE[DIVERS] SUIVRE VOS SéRIES PRéFéRéS SUR LA TOILE par orion
Comme de nombreux geek, je suis un grand amateur de série TV et je rate régulièrement des épisodes de mes séries préférés. Une solution s'offre à vous avec ce merveilleux site : Tv Gorge - www.tvgorge.com Moteur de recherche à l'appui, vous pouvez ...
Cliquez pour lire la suite de l'article par orion TECHDAYS PARIS 2010 : LA BI DANS SHAREPOINT 2010TECHDAYS PARIS 2010 : LA BI DANS SHAREPOINT 2010 par ROMELARD Fabrice
Animé par: Vincent Bellet et Baptiste Giraudier La BI dans SharePoint 2010, Les nouveaux services d'application dans SP2010 et SQL Server Reporting services 2008 R2. La BI dans SharePoint est généralisée pour tous afin de permettre à tous les coll...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice
Forum
RE : ON RAWMODERE : ON RAWMODE par WorldDMT
Cliquez pour lire la suite par WorldDMT AVERTISSMENT ET KIKKAVERTISSMENT ET KIKK par mouhcine951990
Cliquez pour lire la suite par mouhcine951990
Logiciels
DB-MAIN (9.1.0)DB-MAIN (9.1.0)DB-MAIN is a data-modeling and data-architecture tool. It is designed to help developers and anal... Cliquez pour télécharger DB-MAIN Xilisoft DPG Convertisseur (5.1.37.0120)XILISOFT DPG CONVERTISSEUR (5.1.37.0120)Xilisoft DPG Convertisseur offre aux fans de Nintendo DS une bonne solution leur permettant de dé... Cliquez pour télécharger Xilisoft DPG Convertisseur GraphicsGale (2.01.01)GRAPHICSGALE (2.01.01)GraphicsGale est un logiciel de PixelArt avec de nombreuse fonctionnalités permettant de réalisé ... Cliquez pour télécharger GraphicsGale Architecte 3D (Platinum 2010)ARCHITECTE 3D (PLATINUM 2010)Architecte 3D Platinium vous permet de concevoir facilement les plans votre future maison, de l'é... Cliquez pour télécharger Architecte 3D TeamViewer 5 (TeamViewer 5)TEAMVIEWER 5 (TEAMVIEWER 5)Dépanner un ami,expliquer une manipulation devient un jeu d'enfant.
Prise en main d'un autre ord... Cliquez pour télécharger TeamViewer 5
|