Arjun icon indicating copy to clipboard operation
Arjun copied to clipboard

-oB error

Open Phoenix1112 opened this issue 2 years ago • 5 comments

i am using arjun with burp suite.. but my ip adress 192.168.1.104

arjun command:

arjun -i urls.txt -oB 192.168.1.104:8080

i have this error

Traceback (most recent call last):
  File "/usr/local/bin/arjun", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/arjun/__main__.py", line 209, in main
    exporter(final_result)
  File "/usr/local/lib/python3.8/dist-packages/arjun/core/exporter.py", line 59, in exporter
    burp_export(result)
  File "/usr/local/lib/python3.8/dist-packages/arjun/core/exporter.py", line 26, in burp_export
    requests.get(url, params=populate(data['params']), headers=data['headers'], proxies=proxies, verify=False)
  File "/usr/local/lib/python3.8/dist-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/requests/adapters.py", line 458, in send
    raise InvalidURL(e, request=request)
requests.exceptions.InvalidURL: Failed to parse: https://127.0.0.1:192.168.1.104:8080

Phoenix1112 avatar Oct 18 '22 15:10 Phoenix1112

Would be happy to help with this and other issues as well :) @s0md3v

ArkaprabhaChakraborty avatar Jan 28 '23 12:01 ArkaprabhaChakraborty

@ArkaprabhaChakraborty It looks like he actively merge pull requests https://github.com/s0md3v/Arjun/pulls?q=is%3Apr+is%3Aclosed so if you want to contribute I would fork the repo, make your changes and then submit a pull request, he maintains a lot of tools so i'm sure he would appreciate it

ruevaughn avatar Feb 17 '23 01:02 ruevaughn

@Phoenix1112

The -oB argument specifies the port that your burp proxy is on. It will always look for Burp Proxy on 127.0.0.1

ltarr avatar Feb 20 '23 13:02 ltarr

I already wanted to add a generalized proxy flag (that also works for Burp on a different IP), but the PR was denied (https://github.com/s0md3v/Arjun/pull/170), because you can also set the HTTP_PROXY env variable.

JM-Lemmi avatar Jul 12 '23 08:07 JM-Lemmi

In my current case, the flag -oB, or -oB 127.0.0.1:8080 does not proxy anything. I needed to use the env variables. Arjung 2.2.6 via pip on Windows 10.

BreakfastSerial avatar May 24 '24 09:05 BreakfastSerial