GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Need a tool to extract proxies from html pages (https://gfy.com/showthread.php?t=529397)

Rhesus 10-18-2005 08:42 AM

Need a tool to extract proxies from html pages
 
I need a php or perl script to extract proxies (format: 193.194.84.198:8080) from html files or txt files, whatever suits best. The proxies will be mixed with normal text and html. Who's got recommendations?

And no, I'm not a spammer.

seattle 10-18-2005 08:48 AM

I can write you a perl script that will strip http url's with ports from garbage filled files. Your lucky day, send me a benji, ill have it finished within 60-90 minutes. call 206-338-4357 first if this is urgent.
[email protected]
--->8

Rhesus 10-18-2005 08:54 AM

Thanks but I already have a programmer on my list. No one has premade programs?

psili 10-18-2005 08:55 AM

sample in php (not tested):

Code:

<?PHP
$str = implode('',file("text.file"));
$reg = "([0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}:[0-9]{4})";
preg_match_all("/$reg/",$str,$matched);
while(list(,$val) = each($matched))
  echo $val;
?>

I'm sure someone has a more slick method, tho. Or my regular expression is off.

But it was free. :)

*shrug*

u-Bob 10-18-2005 08:57 AM

would be easy to write in perl. just shout if you want me to do it...

Rhesus 10-18-2005 09:12 AM

Quote:

Originally Posted by psili
sample in php (not tested):

Code:

<?PHP
$str = implode('',file("text.file"));
$reg = "([0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}:[0-9]{4})";
preg_match_all("/$reg/",$str,$matched);
while(list(,$val) = each($matched))
  echo $val;
?>

I'm sure someone has a more slick method, tho. Or my regular expression is off.

But it was free. :)

*shrug*

Thanks man, much appreciated :-)

Quickdraw 10-18-2005 09:12 AM

Quote:

Originally Posted by psili
sample in php (not tested):

I'm sure someone has a more slick method, tho. Or my regular expression is off.

But it was free. :)

*shrug*

Your expression is fine but,I changed your regular expression at the end in case it is just a 2 digit port?
Code:

([0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}:[0-9]{2,4})
also this version with word boundary and exact from 0 to 255(not that it matters I suppose, I was just fiddling with it when I saw your solution.
Code:

\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(?:\:[\d]{2,4})\b

psili 10-18-2005 09:14 AM

Quote:

Originally Posted by Rhesus
Thanks man, much appreciated :-)

No problem.

BlingDaddy 10-18-2005 09:16 AM

The intelligence exhibited in this thread is highly unusual for GFY... LMAO :1orglaugh

Nasty 10-18-2005 09:59 AM

These guys have an online version as well as a windows version you can buy

http://www.checker.freeproxy.ru/checker/

smutx 10-18-2005 11:22 AM

uhhh a script i dont know of but a program i do know of, try http://www.project2025.com/charon.php

brizzad 10-18-2005 11:28 AM

search google for 'access diver' :thumbsup

Harmon 10-18-2005 11:32 AM

http://sentinel.deny.de/APL_Tut/

Harmon 10-18-2005 11:32 AM

Quote:

Originally Posted by brizzad
search google for 'access diver' :thumbsup

Cracker :winkwink:

Rhesus 10-18-2005 12:19 PM

Bump. A webbased (http) proxy checker would be nice too :-)


All times are GMT -7. The time now is 06:12 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123