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

"Dalfox" is not a command #521

Open
spacezero20 opened this issue Jan 28, 2024 · 3 comments
Open

"Dalfox" is not a command #521

spacezero20 opened this issue Jan 28, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@spacezero20
Copy link

spacezero20 commented Jan 28, 2024

Dalfox: command not found

I followed the setup instructions when installing from source using go-get, and can't run dalfox. I get the following error (even if ran as root)

dalfox: command not found

Why can't I run this?

Environment

  • Dalfox Version: latest? not sure.
  • Installed from: (e.g go-get/snapcraft/homebrew): go-get
@spacezero20 spacezero20 added the bug Something isn't working label Jan 28, 2024
@hahwul
Copy link
Owner

hahwul commented Jan 28, 2024

Hi @spacezero20
Is the ~/go/bin directory registered in the PATH? If it is, please let me know the result after running the go install github.com/hahwul/dalfox/v2@latest command. (Previously, installation was done via go get, but now it is carried out using 'go install').

  • if you use zsh ~/.zshrc
  • if you use bash ~/.bashrc

e.g

# cat ~/.zshrc | grep bin
export PATH=$PATH:/Users/hahwul/go/bin
``

@WalterHartwellW
Copy link

Nothing works hey
I've tried almost everything i don't know what to do

Screenshot_20240905_134723_com huawei android launcher

@hahwul
Copy link
Owner

hahwul commented Sep 5, 2024

@WalterHartwellW
Typically, tools installed with go install are placed as binaries in the ~/go/bin/<APP> directory.
Is golang installed on your OS? If so, you can build it by running go build . from the Dalfox source directory.

# Go dalfox source directory 
cd /home/kali/dalfox

# Build
go build .

# Run
./dalfox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants