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

panic error #12

Open
ranjit-git opened this issue Jul 26, 2023 · 11 comments
Open

panic error #12

ranjit-git opened this issue Jul 26, 2023 · 11 comments

Comments

@ranjit-git
Copy link

running unimap gives bellow error

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/resolver_engine.rs:266:30
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@Edu4rdSHL
Copy link
Owner

Please give all possible details, which command are you running, etc.

@ranjit-git
Copy link
Author

ranjit-git commented Jul 26, 2023

coomand that i used

unimap --fast-scan -f domain_list.txt --ports $TOP_1000_PORTS -q --url-output --threads 10
domain_list.txt contains 130 domain

@Edu4rdSHL
Copy link
Owner

Make sure that you don't have empty lines in domain_list.txt and that the ports in $TOP_1000_PORTS are valid.

@ranjit-git
Copy link
Author

ranjit-git commented Jul 26, 2023

hello @Edu4rdSHL
i just found that scan for useast1.sugarcrm.com domain cause above error
also this domain prod-it-bastion-01.useast1.sugarcrm.com

@Edu4rdSHL
Copy link
Owner

Thanks, I will investigate.

@ranjit-git
Copy link
Author

any progress?

@Edu4rdSHL
Copy link
Owner

A quick check, returns that both domains you provided resolve to a private IP address... both resolve to 10.20.1.183...

@Edu4rdSHL
Copy link
Owner

Mmm, that shouldn't happen, we have added

&& !ip.parse::<Ipv4Addr>().unwrap().is_private()
to avoid that. Which unimap version is that? Please post the output of unimap -V

@ranjit-git
Copy link
Author

my unimap version is Unimap 0.5.1

@Edu4rdSHL
Copy link
Owner

@ranjit-git
Copy link
Author

v0.6.0 also gives the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants