proxygrabber
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -6,12 +6,4 @@ #! /usr/bin/env node | ||
var output = "result.txt" | ||
program | ||
.option('-o, --output <output>', 'Where to save de result, default result.txt.') | ||
.parse(process.argv); | ||
if (program.output) output = program.output; | ||
shell.exec('\ | ||
@@ -24,5 +16,3 @@ curl -s -connect-timeout 5 --retry 3 "http://www.sslproxies.org" | \ | ||
sed "s/ /:/g" | \ | ||
grep -E "[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}:[0-9]{1,5}" \ | ||
| tee ' + output) | ||
.stdout; | ||
grep -E "[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}:[0-9]{1,5}"').stdout; | ||
@@ -32,6 +22,3 @@ shell.exec('\ | ||
grep -Eo "([0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4})" | \ | ||
while read var; do echo $var:8080; done\ | ||
| tee ' + output, | ||
{"silent": true}) | ||
.stdout; | ||
while read var; do echo $var:8080; done').stdout; | ||
@@ -44,4 +31,3 @@ shell.exec('curl -s --connect-timeout 5 --retry 3 "http://proxyrox.com/?p=9" | \ | ||
sed \'s/"//g\' | \ | ||
grep -E "[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}:[0-9]{1,5}"\ | ||
| tee ' + output,{"silent":true}).stdout; | ||
grep -E "[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}:[0-9]{1,5}"').stdout; | ||
@@ -55,4 +41,3 @@ shell.exec('curl -s --connect-timeout 5 --retry 3 \ | ||
echo " ";\ | ||
done\ | ||
| tee ' + output,{"silent":true}).stdout; | ||
done').stdout; | ||
@@ -65,3 +50,2 @@ shell.exec('curl -s --connect-timeout 5 --retry 3 "https://free-proxy-list.net/" | \ | ||
sed "s/ /:/g" | \ | ||
grep -E "[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}:[0-9]{1,5}"\ | ||
| tee ' + output,{"silent":true}).stdout; | ||
grep -E "[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}:[0-9]{1,5}"').stdout; |
{ | ||
"name": "proxygrabber", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5
2460
37