Closed dark-warlord14 closed 4 years ago
Hey @dark-warlord14 can you give me the exact command you ran?
Also ensure that you are using the most recent version.
I used the most basic one
waybackurls -no-subs yahoo.com | hakcheckurl > result.txt
May be it is due handling of goroutines. I dont know much about go but the crash happens if you feed the tool a vast amount of data.
@hakluke this seems to be caused by assigning headers before checking if the request has been created successfully. A moving the error check up would solve the issue.
https://github.com/hakluke/hakcheckurl/blob/831a993f088daebdfaf3a0a532dfd4f332364e4a/main.go#L50-L55
Should've been fixed by 014c9fc.
Done!