mirror of
https://github.com/alpkeskin/mosint.git
synced 2026-04-26 11:35:51 +03:00
[GH-ISSUE #20] Error :- anic: invalid character '<' looking for beginning of value #125
Labels
No labels
bug
duplicate
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mosint#125
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KRiteshchowdary on GitHub (May 19, 2022).
Original GitHub issue: https://github.com/alpkeskin/mosint/issues/20
Getting the following error while trying to run
$ mosint % go run main.go -e example@gmail.com -all
_ _
_ __ ___ ___ ___ () _ __ | |
| '_ ` _ \ / _ \ / | | | | ' \ | |
| | | | | | | () | _ \ | | | | | | | |
|| || |_| _/ |/ || || || __|
v2.1
https://github.com/alpkeskin/
Now: Thursday, 19 May 2022
mosinting 36% |████████████████████████████████████████████████ | (36/100, 6 it/s) [21s:10s]panic: invalid character '<' looking for beginning of value
goroutine 1 [running]:
main/modules.doRequest({0xc000d3e0f0, 0x4e}, {0x16674ff, 0x7})
~/mosint/modules/ThreatCrowd.go:28 +0x670
main/modules.RelatedDomains(...)
~/mosint/modules/ThreatCrowd.go:52
main.main()
~/mosint/main.go:263 +0xc2b
exit status 2
@gray-area commented on GitHub (May 19, 2022):
Found out that it was a permissions issue on Kali. Run the command with sudo, and it should work fine.
@prasathkjs commented on GitHub (May 20, 2022):
Even after running the comment with sudo, there are other issues coming up:
mosinting 20% |██████████████████████████████████████ | (20/100, 8 it/s) [2s:10s]Traceback (most recent call last):
File "/home/kali/mosint/modules/SocialScan.py", line 5, in
import socialscan
ModuleNotFoundError: No module named 'socialscan'
Traceback (most recent call last):
File "/home/kali/mosint/modules/Holehe.py", line 6, in
import trio
ModuleNotFoundError: No module named 'trio'
panic: invalid character '<' looking for beginning of value
goroutine 1 [running]:
main/modules.doRequest({0xc0000285a0, 0x4c}, {0xa64ddc, 0x6})
/home/kali/mosint/modules/ThreatCrowd.go:28 +0x670
main/modules.RelatedEmails({0x7ffd1815e84b?, 0x1e?})
/home/kali/mosint/modules/ThreatCrowd.go:56 +0x65
main.main()
/home/kali/mosint/main.go:261 +0xbcd
exit status 2
@gray-area commented on GitHub (May 20, 2022):
I retested this, and you are right. However, I was able to re-create the fix. You actually need to run the command without sudo, it will fail. Then run the command as sudo and it will run. Once or twice, it took me 3 times of running the command for it to run without error. I am not sure what the fix is, but this is a workaround to getting it to run. I will try and dig into the issue and see if I can help find the fix too.
@KRiteshchowdary commented on GitHub (Jun 3, 2022):
@gray-area thanks for the help I am using in macOS and this has resolved my issue.