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

Bug when using in bash script #36

Open
ThoundsN opened this issue Jun 4, 2020 · 0 comments
Open

Bug when using in bash script #36

ThoundsN opened this issue Jun 4, 2020 · 0 comments

Comments

@ThoundsN
Copy link

ThoundsN commented Jun 4, 2020

When running some script like

find /var/www/jsrecon/links/  -maxdepth 3 -name "waybackurl*"  -print0 | while IFS= read -r -d '' file; do gf potential $file  ; done 

you will find instead of using the input file as target , the current direcotry when running the script will be considered as target .

I think it is because of

	files := flag.Arg(1)
	if files == "" {
		files = "."
	}

in main.go

This bug wasted me more than 4 hours, hope it can get fixed

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

1 participant