slimerjs icon indicating copy to clipboard operation
slimerjs copied to clipboard

Proxy traffic not showing on burp.

Open random-robbie opened this issue 8 years ago • 2 comments

versions

  • SlimerJS: SlimerJS 0.10.2
  • Firefox: Mozilla Firefox 45.6.0
  • Operating system: Raspbian

Steps to reproduce the issue

xvfb-run /home/slim/slimerjs/slimerjs --debug=pageloading --proxy=10.0.0.8:8080 --proxy-type=http -P myapp /var/www/myapp/myapp.js

Actual results:

constant 200 ok results when passing a url to the app

Expected results:

to show its actions in burp proxy

i had even added to the profile user.js and still same issue and tried with a fresh profile

user_pref("network.proxy.backup.ftp", "");
user_pref("network.proxy.backup.ftp_port", 0);
user_pref("network.proxy.backup.socks", "");
user_pref("network.proxy.backup.socks_port", 0);
user_pref("network.proxy.backup.ssl", "");
user_pref("network.proxy.backup.ssl_port", 0);
user_pref("network.proxy.ftp", "10.0.0.8");
user_pref("network.proxy.ftp_port", 8080);
user_pref("network.proxy.http", "10.0.0.8");
user_pref("network.proxy.http_port", 8080);
user_pref("network.proxy.share_proxy_settings", true);
user_pref("network.proxy.socks", "10.0.0.8");
user_pref("network.proxy.socks_port", 8080);
user_pref("network.proxy.ssl", "10.0.0.8");
user_pref("network.proxy.ssl_port", 8080);
user_pref("network.proxy.type", 1);

random-robbie avatar Feb 15 '17 14:02 random-robbie

Hi,

Sorry, I don't understand your problem.

constant 200 ok results when passing a url to the app

If you don't show me the code, the "actual results" you described means nothing for me. Please provide a simplified source code that produces the issue. What is your script supposed to do? How do you retrieve the url? Which url? From the command line? Where is the example with the url? etc...

to show its actions in burp proxy

What is a "burp proxy"? (sorry, english is not my mother tongue, and I'm not sure of the translation of "burp proxy" given by some dictionaries ;-) )

still same issue

Which issue exactly?

laurentj avatar Feb 18 '17 13:02 laurentj

Hi Dude,

Ignore the 200 status it was part of my code but the problem i have is i need to set firefox / slimerjs to use a proxy (burp proxy -- https://portswigger.net/) and when i run the js app it never seems to be using the proxy.

random-robbie avatar Feb 18 '17 17:02 random-robbie