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

How to specify target #20

Closed
krivadna opened this issue Jun 24, 2024 · 5 comments · Fixed by #24
Closed

How to specify target #20

krivadna opened this issue Jun 24, 2024 · 5 comments · Fixed by #24
Assignees

Comments

@krivadna
Copy link

krivadna commented Jun 24, 2024

in "yourcompanyname" How to specify a url "https://example.com" or "example.com"

@0xblackbird 0xblackbird self-assigned this Jun 24, 2024
@0xblackbird
Copy link
Collaborator

Hi @krivadna!

You can set the -target CLI flag to specify a target. Did you encounter any issues with setting that CLI flag? If so, feel free to provide some more information that can help me trace back the issue.

Thank you!

@krivadna
Copy link
Author

I am using intentionally vuln website but getting error

~/misconfig-mapper $ ./misconfig-mapper -target "https://testphp.vulnweb.com" -service 1 -delay 1000
[+] Checking 49 possible target URLs...
[-] Error: Failed to read response for https://https://testphp.vulnweb.com.atlassian.net/servicedesk/customer/user/login
[-] No vulnerable Atlassian Jira Service Desk instance found (https://https://testphp.vulnweb.com.atlassian.net/servicedesk/customer/user/login)
[-] Error: Failed to read response for https://https://testphp.vulnweb.com.com.atlassian.net/servicedesk/customer/user/login
[-] No vulnerable Atlassian Jira Service Desk instance found (https://https://testphp.vulnweb.com.com.atlassian.net/servicedesk/customer/user/login)
[-] Error: Failed to read response for https://https://testphp.vulnweb.com-com.atlassian.net/servicedesk/customer/user/login
[-] No vulnerable Atlassian Jira Service Desk instance found (https://https://testphp.vulnweb.com-com.atlassian.net/servicedesk/customer/user/login)
[-] Error: Failed to read response for https://https://testphp.vulnweb.comcom.atlassian.net/servicedesk/customer/user/login
[-] No vulnerable Atlassian Jira Service Desk instance found (https://https://testphp.vulnweb.comcom.atlassian.net/servicedesk/customer/user/login)
[-] Error: Failed to read response for https://https://testphp.vulnweb.com.net.atlassian.net/servicedesk/customer/user/login
[-] No vulnerable Atlassian Jira Service Desk instance found (https://https://testphp.vulnweb.com.net.atlassian.net/servicedesk/customer/user/login)
[-] Error: Failed to read response for https://https://testphp.vulnweb.com-net.atlassian.net/servicedesk/customer/user/login

@0xblackbird
Copy link
Collaborator

Hi

Correct, the target you supplied for that specific template is invalid as the template is designed to find the Atlassian Jira service desk misconfiguration. For that, it expects a target name only as it processes it as a suffix for {target}.atlassian.net

Testphp is not known to be vulnerable to the misconfiguration you selected. However, you could try setting the target to your company name instead.

Example: $ ./misconfig-mapper -target "yourcompanyname" -service 1 -delay 1000

You can find more examples under the Usage-section

Future releases will include a more sophisticated way of adjusting the target to address inconsistencies like these.

@0xblackbird
Copy link
Collaborator

Hi

I will be closing this issue due to no activity. If you ever encounter any further problems, feel free to open a new issue.

Thank you for your contributions!

@0xblackbird
Copy link
Collaborator

Hi!

Pull request #24 will fix the issues mentioned above. I recommend updating to the latest release version. If you ever encounter any further problems, feel free to open a new issue.

Thank you!

@0xblackbird 0xblackbird linked a pull request Jul 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants