Suche senden
Hochladen
Threading
•
Als TXT, PDF herunterladen
•
0 gefällt mir
•
175 views
B
b290572
Folgen
Melden
Teilen
Melden
Teilen
1 von 2
Jetzt herunterladen
Empfohlen
20 modules i haven't yet talked about
20 modules i haven't yet talked about
Tatsuhiko Miyagawa
Latihan form login
Latihan form login
Edy Sinaga
New in cakephp3
New in cakephp3
markstory
Advanced Querying with CakePHP 3
Advanced Querying with CakePHP 3
José Lorenzo Rodríguez Urdaneta
Zf Zend Db by aida
Zf Zend Db by aida
waraiotoko
次世代版 PowerCMS 開発プロジェクトのご紹介
次世代版 PowerCMS 開発プロジェクトのご紹介
純生 野田
PowerCMS X
PowerCMS X
純生 野田
Node.js - Demnächst auf einem Server in Ihrer Nähe
Node.js - Demnächst auf einem Server in Ihrer Nähe
Ralph Winzinger
Empfohlen
20 modules i haven't yet talked about
20 modules i haven't yet talked about
Tatsuhiko Miyagawa
Latihan form login
Latihan form login
Edy Sinaga
New in cakephp3
New in cakephp3
markstory
Advanced Querying with CakePHP 3
Advanced Querying with CakePHP 3
José Lorenzo Rodríguez Urdaneta
Zf Zend Db by aida
Zf Zend Db by aida
waraiotoko
次世代版 PowerCMS 開発プロジェクトのご紹介
次世代版 PowerCMS 開発プロジェクトのご紹介
純生 野田
PowerCMS X
PowerCMS X
純生 野田
Node.js - Demnächst auf einem Server in Ihrer Nähe
Node.js - Demnächst auf einem Server in Ihrer Nähe
Ralph Winzinger
Pemrograman Web 8 - MySQL
Pemrograman Web 8 - MySQL
Nur Fadli Utomo
Pemrograman Web 9 - Input Form DB dan Session
Pemrograman Web 9 - Input Form DB dan Session
Nur Fadli Utomo
Jqeury ajax plugins
Jqeury ajax plugins
Inbal Geffen
C A S Sample Php
C A S Sample Php
JH Lee
Future of HTTP in CakePHP
Future of HTTP in CakePHP
markstory
Php
Php
anilcoolz881234
Tax management-system
Tax management-system
Fahim Faysal Kabir
Laravel the right way
Laravel the right way
Matheus Marabesi
PHP and Rich Internet Applications
PHP and Rich Internet Applications
elliando dias
Integration with Camel
Integration with Camel
Josué Neis
Conexion php
Conexion php
Luis Reategui Vargas
JQuery Presentation
JQuery Presentation
Sony Jain
Php Mysql
Php Mysql
Mudasir Syed
My shell
My shell
Ahmed Salah
[Php] navigations
[Php] navigations
Vishal Gurujuwada
Php update and delet operation
Php update and delet operation
syeda zoya mehdi
The Origin of Lithium
The Origin of Lithium
Nate Abele
Ch3(working with file)
Ch3(working with file)
Chhom Karath
Up.Php
Up.Php
wsoom
DEV Čtvrtkon #76 - Fluent Interface
DEV Čtvrtkon #76 - Fluent Interface
Ctvrtkoncz
Apresentação Duda
Apresentação Duda
Duda_Propaganda
ZNetCorp-1
ZNetCorp-1
Munesh Jadoun
Weitere ähnliche Inhalte
Was ist angesagt?
Pemrograman Web 8 - MySQL
Pemrograman Web 8 - MySQL
Nur Fadli Utomo
Pemrograman Web 9 - Input Form DB dan Session
Pemrograman Web 9 - Input Form DB dan Session
Nur Fadli Utomo
Jqeury ajax plugins
Jqeury ajax plugins
Inbal Geffen
C A S Sample Php
C A S Sample Php
JH Lee
Future of HTTP in CakePHP
Future of HTTP in CakePHP
markstory
Php
Php
anilcoolz881234
Tax management-system
Tax management-system
Fahim Faysal Kabir
Laravel the right way
Laravel the right way
Matheus Marabesi
PHP and Rich Internet Applications
PHP and Rich Internet Applications
elliando dias
Integration with Camel
Integration with Camel
Josué Neis
Conexion php
Conexion php
Luis Reategui Vargas
JQuery Presentation
JQuery Presentation
Sony Jain
Php Mysql
Php Mysql
Mudasir Syed
My shell
My shell
Ahmed Salah
[Php] navigations
[Php] navigations
Vishal Gurujuwada
Php update and delet operation
Php update and delet operation
syeda zoya mehdi
The Origin of Lithium
The Origin of Lithium
Nate Abele
Ch3(working with file)
Ch3(working with file)
Chhom Karath
Up.Php
Up.Php
wsoom
DEV Čtvrtkon #76 - Fluent Interface
DEV Čtvrtkon #76 - Fluent Interface
Ctvrtkoncz
Was ist angesagt?
(20)
Pemrograman Web 8 - MySQL
Pemrograman Web 8 - MySQL
Pemrograman Web 9 - Input Form DB dan Session
Pemrograman Web 9 - Input Form DB dan Session
Jqeury ajax plugins
Jqeury ajax plugins
C A S Sample Php
C A S Sample Php
Future of HTTP in CakePHP
Future of HTTP in CakePHP
Php
Php
Tax management-system
Tax management-system
Laravel the right way
Laravel the right way
PHP and Rich Internet Applications
PHP and Rich Internet Applications
Integration with Camel
Integration with Camel
Conexion php
Conexion php
JQuery Presentation
JQuery Presentation
Php Mysql
Php Mysql
My shell
My shell
[Php] navigations
[Php] navigations
Php update and delet operation
Php update and delet operation
The Origin of Lithium
The Origin of Lithium
Ch3(working with file)
Ch3(working with file)
Up.Php
Up.Php
DEV Čtvrtkon #76 - Fluent Interface
DEV Čtvrtkon #76 - Fluent Interface
Andere mochten auch
Apresentação Duda
Apresentação Duda
Duda_Propaganda
ZNetCorp-1
ZNetCorp-1
Munesh Jadoun
E l factor humano
E l factor humano
Diana Gonzalez Castillo
Bulletin d adhesion
Bulletin d adhesion
etd76
Golf trophies for golf competitions
Golf trophies for golf competitions
milton_sss
20110825 Stoll Brochure final file-low res
20110825 Stoll Brochure final file-low res
Emily Keller
Soq24
Soq24
AmJed SalMan
PROTOCOL DE DERIVACIÓ DE PACIENTS AMB SOSPITA DE DETERIORAMENT COGNITIU
PROTOCOL DE DERIVACIÓ DE PACIENTS AMB SOSPITA DE DETERIORAMENT COGNITIU
lprats
Big Data University ML0101EN Certificate _ Big Data University
Big Data University ML0101EN Certificate _ Big Data University
Imam Raza
The Cloud (la Nube) Fabian smith
The Cloud (la Nube) Fabian smith
fabiansmith17
grace (original)
grace (original)
Graciela Flores
How buyer behaviours have changed - Louisa Francis, Commonwealth Bank
How buyer behaviours have changed - Louisa Francis, Commonwealth Bank
LinkedIn Sales Solutions
Four stroke Petrol Engine (Hanan From UET pakistan)
Four stroke Petrol Engine (Hanan From UET pakistan)
Hanan Mustafa
Android notifications
Android notifications
Ketan Raval
Andere mochten auch
(14)
Apresentação Duda
Apresentação Duda
ZNetCorp-1
ZNetCorp-1
E l factor humano
E l factor humano
Bulletin d adhesion
Bulletin d adhesion
Golf trophies for golf competitions
Golf trophies for golf competitions
20110825 Stoll Brochure final file-low res
20110825 Stoll Brochure final file-low res
Soq24
Soq24
PROTOCOL DE DERIVACIÓ DE PACIENTS AMB SOSPITA DE DETERIORAMENT COGNITIU
PROTOCOL DE DERIVACIÓ DE PACIENTS AMB SOSPITA DE DETERIORAMENT COGNITIU
Big Data University ML0101EN Certificate _ Big Data University
Big Data University ML0101EN Certificate _ Big Data University
The Cloud (la Nube) Fabian smith
The Cloud (la Nube) Fabian smith
grace (original)
grace (original)
How buyer behaviours have changed - Louisa Francis, Commonwealth Bank
How buyer behaviours have changed - Louisa Francis, Commonwealth Bank
Four stroke Petrol Engine (Hanan From UET pakistan)
Four stroke Petrol Engine (Hanan From UET pakistan)
Android notifications
Android notifications
Ähnlich wie Threading
Everything About PowerShell
Everything About PowerShell
Gaetano Causio
Yy
Yy
yygh
Yy
Yy
yygh
Nouveau document texte
Nouveau document texte
Sai Ef
Mixing functional and object oriented approaches to programming in C#
Mixing functional and object oriented approaches to programming in C#
Mark Needham
C99.php
C99.php
veng33k
MongoDB Aggregation Framework
MongoDB Aggregation Framework
Caserta
Productive Programming in Groovy
Productive Programming in Groovy
Ganesh Samarthyam
Introduction to Nodejs
Introduction to Nodejs
Gabriele Lana
Miracle of std lib
Miracle of std lib
Jedsada Tiwongvokul
mobl - model-driven engineering lecture
mobl - model-driven engineering lecture
zefhemel
How te bring common UI patterns to ADF
How te bring common UI patterns to ADF
Getting value from IoT, Integration and Data Analytics
Scala and big data in ICM. Scoobie, Scalding, Spark, Stratosphere. Scalar 2014
Scala and big data in ICM. Scoobie, Scalding, Spark, Stratosphere. Scalar 2014
Michał Oniszczuk
C99
C99
scriptexe
Aplicacoes dinamicas Rails com Backbone
Aplicacoes dinamicas Rails com Backbone
Rafael Felix da Silva
How to Bring Common UI Patterns to ADF
How to Bring Common UI Patterns to ADF
Luc Bors
Utilizing Powerful Extensions for Analytics and Operations
Utilizing Powerful Extensions for Analytics and Operations
Neo4j
Play!ng with scala
Play!ng with scala
Siarzh Miadzvedzeu
jQuery
jQuery
Niladri Karmakar
Backbone.js — Introduction to client-side JavaScript MVC
Backbone.js — Introduction to client-side JavaScript MVC
pootsbook
Ähnlich wie Threading
(20)
Everything About PowerShell
Everything About PowerShell
Yy
Yy
Yy
Yy
Nouveau document texte
Nouveau document texte
Mixing functional and object oriented approaches to programming in C#
Mixing functional and object oriented approaches to programming in C#
C99.php
C99.php
MongoDB Aggregation Framework
MongoDB Aggregation Framework
Productive Programming in Groovy
Productive Programming in Groovy
Introduction to Nodejs
Introduction to Nodejs
Miracle of std lib
Miracle of std lib
mobl - model-driven engineering lecture
mobl - model-driven engineering lecture
How te bring common UI patterns to ADF
How te bring common UI patterns to ADF
Scala and big data in ICM. Scoobie, Scalding, Spark, Stratosphere. Scalar 2014
Scala and big data in ICM. Scoobie, Scalding, Spark, Stratosphere. Scalar 2014
C99
C99
Aplicacoes dinamicas Rails com Backbone
Aplicacoes dinamicas Rails com Backbone
How to Bring Common UI Patterns to ADF
How to Bring Common UI Patterns to ADF
Utilizing Powerful Extensions for Analytics and Operations
Utilizing Powerful Extensions for Analytics and Operations
Play!ng with scala
Play!ng with scala
jQuery
jQuery
Backbone.js — Introduction to client-side JavaScript MVC
Backbone.js — Introduction to client-side JavaScript MVC
Mehr von b290572
P3
P3
b290572
P2
P2
b290572
P1
P1
b290572
P9
P9
b290572
P8
P8
b290572
P7
P7
b290572
P6
P6
b290572
P5
P5
b290572
P4
P4
b290572
P3
P3
b290572
P2
P2
b290572
P1
P1
b290572
P5
P5
b290572
P4
P4
b290572
P3
P3
b290572
P2
P2
b290572
P1
P1
b290572
P9
P9
b290572
P8
P8
b290572
P7
P7
b290572
Mehr von b290572
(20)
P3
P3
P2
P2
P1
P1
P9
P9
P8
P8
P7
P7
P6
P6
P5
P5
P4
P4
P3
P3
P2
P2
P1
P1
P5
P5
P4
P4
P3
P3
P2
P2
P1
P1
P9
P9
P8
P8
P7
P7
Threading
1.
ui drop down("Threads",
"10,20,30,40,50", #INPUT Threads) ui stat monitor("Threads (Active/Total):", "<b>{#THREADS Active}/{#THREADS Max}</b>") ui stat monitor("COUNT:", #COUNT) set(#FOLDER Root, $special folder("Application"), "Global") set(#THREADS Max, #INPUT Threads, "Global") clear table(&RESULTS) add list to table as row(&RESULTS, 0, 0, $list from text("Proxy Used,IP,Proxy,City,Country,ISP,STATUS", ",")) set(#RESULTS ROW, 1, "Global") clear list(%PROXIES) add list to list(%PROXIES, $list from file("{#FOLDER Root}proxies.txt"), "Delete", "Global") set(#PROXIES ROW, 0, "Global") set(#COUNT, $list total(%PROXIES), "Global") if($comparison(#THREADS Max, ">", #COUNT)) { then { alert("You need to have more proxies than threads.") stop script } else { } } comment("Reset counter to 0.") set(#THREADS Active, $plugin function("Threads Counter.dll", "threads counter", "reset"), "Global") comment("Main Threading Loop") loop while($comparison(#COUNT, ">", 0)) { if($comparison($plugin function("Threads Counter.dll", "threads counter", "read"), "<", #THREADS Max)) { then { comment("Increment Number Of Threads And Store Value to UBot Variable.") set(#THREADS Active, $plugin function("Threads Counter.dll", "threads counter", "increment"), "Global") if($comparison(#PROXIES ROW, ">=", $list total(%PROXIES))) { then { set(#PROXIES ROW, 0, "Global") } else { } } THREAD START(#PROXIES ROW, #RESULTS ROW) increment(#PROXIES ROW) increment(#RESULTS ROW) decrement(#COUNT) } else { wait(0.2) } } } comment("Thread Command") define THREAD START(#PROXIES ROW, #RESULTS ROW) { thread { in new browser { CHANGE PROXY(#PROXIES ROW) SCRAPE WHATSMYIP(#PROXIES ROW, #RESULTS ROW) } set(#THREADS Active, $plugin function("Threads Counter.dll", "threads counter", "decrement"), "Global") } } comment("Wait For Threads To Close")
2.
set(#THREADS Active, $plugin
function("Threads Counter.dll", "threads counter", "read"), "Global") loop while($comparison(#THREADS Active, ">", 0)) { set(#THREADS Active, $plugin function("Threads Counter.dll", "threads counter", "read"), "Global") wait(2) } save to file("{#FOLDER Root}results.csv", &RESULTS) stop script define CHANGE PROXY(#PROXIES ROW) { clear list(%PROXY) add list to list(%PROXY, $list from text($list item(%PROXIES, #PROXIES ROW), ":"), "Don't Delete", "Global") if($comparison($list total(%PROXY), "=", 4)) { then { set proxy credentials($list item(%PROXY, 2), $list item(%PROXY, 3)) change proxy("{$list item(%PROXY, 0)}:{$list item(%PROXY, 1)}") } else if($comparison($list total(%PROXY), "=", 2)) { change proxy("{$list item(%PROXY, 0)}:{$list item(%PROXY, 1)}") } else { alert("Proxy on row #{#PROXIES ROW} is invalid.") stop script } } } define SCRAPE WHATSMYIP(#PROXIES ROW, #RESULTS ROW) { navigate("http://www.whatismyip.com/", "Wait") wait for browser event("DOM Ready", "") wait for element(<class="the-ip">, "", "Appear") if($exists(<class="the-ip">)) { then { set table cell(&RESULTS, #RESULTS ROW, 0, $list item(%PROXIES, #PROXIES ROW)) set table cell(&RESULTS, #RESULTS ROW, 1, $scrape attribute(<class="the-ip">, "innertext")) set table cell(&RESULTS, #RESULTS ROW, 2, $scrape attribute(<class="the-proxy">, "innertext")) set table cell(&RESULTS, #RESULTS ROW, 3, $scrape attribute(<class="the-city">, "innertext")) set table cell(&RESULTS, #RESULTS ROW, 4, $scrape attribute(<class="the-country">, "innertext")) set table cell(&RESULTS, #RESULTS ROW, 5, $scrape attribute(<class="the-isp">, "innertext")) set table cell(&RESULTS, #RESULTS ROW, 6, "SUCCESS") } else { set table cell(&RESULTS, #RESULTS ROW, 6, "FAIL") } } }
Jetzt herunterladen