six2dez / reconftw

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities
MIT License
5.64k stars 912 forks source link

running install.sh wipes .zshrc file #851

Closed reevesy1 closed 2 months ago

reevesy1 commented 7 months ago

Trying to update using install.sh wipes your .zshrc file replacing it with only

# Golang vars
export GOROOT=/usr/local/go
export GOPATH=\$HOME/go
export PATH=\$GOPATH/bin:\$GOROOT/bin:\$HOME/.local/bin:\$PATH

Now this quite possibly could've been something I accidentally done while getting some tools to work, but i'm leaning more towards something that was updated as it happened straight after it said there was an update available and ran the install.sh file.

To Reproduce Steps to reproduce the behavior:

  1. cd to reconftw folder
  2. Run install file ./install.sh
  3. Notice your terminal is different and it asks you repeatedly to make password for new keyring ( thats possibly once you run reconftw.sh )
  4. Wonder WTF happened and check your .zshrc file to see all your settings etc are gone
  5. Think you had a back up until you realise you don't and end up copy pasting roots .zshrc contents.
  6. Deal with now having lost all your history, auto complete, terminal look like crap.
  7. Start googling to see if there is a way to get the file back to however it was before it got replaced.
  8. I haven't made it to step 8 yet. Will let you know.

Expected behavior Running install.sh updates any tools that need updating and doesn't modify/overwrite important files that it doesnt need to touch

Desktop (please complete the following information): Linux 6.6.9-rt-amd64 #1 SMP PREEMPT_RT Kali 6.6.9-1kali1 (2024-01-08) x86_64 GNU/Linux

Additional If someone could confirm it is an update that is doing it and not something I done, that would be great.

thechiragjogani commented 2 months ago

Something you have done, working fine for me.