Z
Z
zhenyakucher2015-10-23 22:42:11
Delphi
zhenyakucher, 2015-10-23 22:42:11

Auto-update proxy when brute, how to do it?

Auto-update proxy when brute, how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor, 2015-10-23
Chuperka @ychuperka

1. You take a list of proxies, possibly in the form of instances of the TProxy class, which you will write first.
2. You write some simple manager, for example TProxyManager, which contains this list and gives you a proxy on request, he makes sure not to issue the same proxy twice until you send him a request, for example "unlock (proxy)".
3. In your code that wants a proxy, you send the request "proxyManager.getOne ()" to the manager, and he either gives you the proxy, or raises an exception if he could not and at the same time marks in his list that this proxy is still locked.
Well, something like this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question