Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-oB error #181

Open
Phoenix1112 opened this issue Oct 18, 2022 · 5 comments
Open

-oB error #181

Phoenix1112 opened this issue Oct 18, 2022 · 5 comments
Labels
enhancement New feature or request Priority: Medium

Comments

@Phoenix1112
Copy link

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
@s0md3v s0md3v added enhancement New feature or request Priority: Medium labels Nov 15, 2022
@ArkaprabhaChakraborty
Copy link

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

@ruevaughn
Copy link

@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

@ltarr
Copy link

ltarr commented Feb 20, 2023

@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

@JM-Lemmi
Copy link

I already wanted to add a generalized proxy flag (that also works for Burp on a different IP), but the PR was denied (#170), because you can also set the HTTP_PROXY env variable.

@BreakfastSerial
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority: Medium
Projects
None yet
Development

No branches or pull requests

7 participants