Update cseyewittness
changed from splitting on just spaces to splitting on any white space when reading the proxychains config, should be better now.
This commit is contained in:
@@ -49,7 +49,7 @@ note if you have errors parsing your proxychains config file make sure its space
|
|||||||
let mut proxy_port = String::new();
|
let mut proxy_port = String::new();
|
||||||
for line in lines{
|
for line in lines{
|
||||||
if line.contains("socks"){
|
if line.contains("socks"){
|
||||||
let split_line:Vec<&str> = line.split(" ").collect();
|
let split_line:Vec<&str> = line.split_whitespace().collect();
|
||||||
proxy_type = split_line[0].to_owned();
|
proxy_type = split_line[0].to_owned();
|
||||||
proxy_address = split_line[1].to_owned();
|
proxy_address = split_line[1].to_owned();
|
||||||
proxy_port = split_line[2].to_owned();
|
proxy_port = split_line[2].to_owned();
|
||||||
|
|||||||
Reference in New Issue
Block a user