Jump to content

madmike3

Members
  • Posts

    14
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

madmike3's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. ok can u show me how to do for my other script where i have users
  2. actually iam gonna use it for ips :3 just i was thinking of another script and wrote users. sorry like this 000.000.000.00:000 000.000.000.00:000 000.000.000.00:000 ofcourse diffrent ips and diffrent ports i would like the array to look like this $proxies = array( '000.000.000.00:000', '000.000.000.00:000', '000.000.000.00:000', '000.000.000.00:000', ); for the reason that iam gonna use (call) $proxies with curl_setopt($ch, CURLOPT_PROXY,$proxies[array_rand($proxies)]);
  3. Hello, what would be right to get values from users.txt and convert them to an array so later it can be called ?
  4. not really, and not gonna be used for bad purposes..... if u can help pls do so
  5. i also made a version which user upload proxies.txt so......... how can i call proxies.txt to an array and then use them with curl_setopt($ch, CURLOPT_PROXY,$proxies[array_rand($proxies)]) according to my code. Best Regards THNX IN ADVANCE
  6. oK lets say i used as u said eventhough i prefer textarea can u tell me how to covert them into array and then randomised using @Barand curl_setopt($ch, CURLOPT_PROXY,$proxies[array_rand($proxies)])
  7. do it do it like this ? //IF THE FORM WAS SUBMITTED if(isset($_POST['submit'])) { //GET USER-SUGGESTED PROXIES $proxies = trim($_POST['proxies']); var_dump($proxies); //<-- this line just shows that a value was passed; it isn't needed for your final code //...do whatever you need to do with the proxies here... $ch = curl_init('https://www.website.com'); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_PROXY, $proxy); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,0); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,15); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_HTTP_VERSION,'CURL_HTTP_VERSION_1_1' ); curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1); curl_setopt($ch, CURLOPT_ENCODING , "gzip,deflate"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_HTTPHEADER, $header); curl_setopt($ch, CURLOPT_PROXY, $proxy); curl_setopt($ch, CURLOPT_PROXY, $proxy_ip); curl_setopt($ch, CURLOPT_REFERER, $refer); curl_setopt($ch, CURLOPT_USERAGENT,$agents[array_rand($agents)]); curl_setopt($ch, CURLOPT_PROXY,$proxies[array_rand($proxies)]); curl_setopt($ch, CURLOPT_COOKIEFILE, dirname(__FILE__).'/cookie.txt'); curl_setopt($ch, CURLOPT_COOKIEJAR, dirname(__FILE__).'/cookie.txt'); }
  8. Bro, LOOKS PROMOSING GONNA TEST AND LET U KNOW........ but, what do u mean do with this //...do whatever you need to do with the proxies here... if i post code like this want it work ? or u mean i add this there curl_setopt($ch, CURLOPT_PROXY,$proxies[array_rand($proxies)]) so it chooses random proxy on evry try ?
  9. But i dnt have dabase it is a script i made single php file
  10. Yes thats what iam trying to achive iam trying to get values from textarea and convert them into array since it needs to be randomised using the curl_setopt($ch, CURLOPT_PROXY,$proxies[array_rand($proxies)]) do u understand me ?
  11. Hello, iam almost done with my project .. except there is one more thing left which somehow i cant manage to figure it out....... i manged to make a proxy array which rotates proxies randomly on every try..... but i want for my users to be able to add them manually via the textarea... so they put their proxies and as much as they want...... so then i guess explode should be used to fetch the proxies that were added by the user from the textarea and put them in an array like u see down and then with the curl array_rand it randomises them on evry try The real problem is i dnt know how to indetidy the explode cause iam not adding them manually they will be added via textare by users....... so when they add the ips they need to be fetched from the textare. THNX IN ADVACE $proxies = array( '000.000.000.00:000', <----------------- should i keep this ? cause ips will be added from textarea by users ? '000.000.000.00:000', '000.000.000.00:000', '000.000.000.00:000', ); curl_setopt($ch, CURLOPT_PROXY,$proxies[array_rand($proxies)]); <----- AFTER and array is made using exploit this will call it <textarea cols='22' class='area' rows='14' name='proxies'>PROXIES</textarea><br><input type='submit' value='Test'><br></p><p align='center' dir='ltr'><b>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.