Open deciacco opened 2 years ago
Do you have a proxy server running on your local machine?
Yes... I have Burp running listening on 172.16.42.42:8080 in invisible mode.
Try listening on a different IP, like 172.16.42.69:8080
.
Also, make sure you have the IP inserted correctly onto the panel.
Sorta figured it out... somewhere in this code, there is a PHP error causing the internal 500 error. I commented all this out (removed the validation) and the proxy starts and traffic is properly received by my proxy server.
// Validate the IP address
if (!filter_var($this->request->dIP, FILTER_VALIDATE_IP)) {
$this->response = array('success' => false,
'call' => 'createProxyRules()',
'error' => 'The IP address is invalid');
return;
}
// Validate the port number
if (!filter_var($this->request->dPort, FILTER_VALIDATE_INT)) {
$this->response = array('success' => false,
'call' => 'createProxyRules()',
'error' => 'The port is invalid (not an integer)');
return;
}
// Validate the port range
if (intval($this->request->dPort) <= 0 || intval($this->request->dPort) > 65535) {
$this->response = array('success' => false,
'call' => 'createProxyRules()',
'error' => 'The port is invalid (invalid range)');
return;
}
I am also experiencing this issue on pineapple nano. I can confirm commenting out the section of code deciacco mentioned solved the issue.
when I click on "stopped" to enable the proxy it fails. this is on a pineapple Nano, 2.7.0. thank you.