brainfucksec / kalitorify

Transparent proxy through Tor for Kali Linux OS
GNU General Public License v3.0
1.04k stars 225 forks source link

Error with torrc file (/etc/tor/torrc) and torrc.backup #52

Closed papuuh closed 3 years ago

papuuh commented 3 years ago

Describe the bug When I start the transparent proxy and then i reset the iptables it says me that the file torrc.backup doesnt exist.

Program error message :: Stopping Transparent Proxy ==> Restore default iptables rules ==> Stop tor service ==> Restore /etc/resolv.conf file with default DNS ==> Enable IPv6 ==> Restore default '/etc/tor/torrc' cp: no se puede efectuar `stat' sobre '/usr/share/kalitorify/backups/torrc.backup': No existe el fichero o el directorio

[-] Transparent Proxy stopped

Screenshots kalitorify

Shell used bash

brainfucksec commented 3 years ago

Hi @mguzman999, thanks for the report. For some reason the program doesn't copy the new etc/tor/torrc file but doesn't raise exceptions, I'm working with code and package behavior to figure out where the problem is.

brainfucksec commented 3 years ago

Fixed, please download latest release or git package for the working version (> 1.24.4). For those who have messed up the torrc file, copy it from the kalitorify directory (the git package):

cd kalitorify/
sudo cp -vf data/torrc.default /etc/tor/torrc

If there are still problems uninstall kalitorify and tor packages, then reinstall them again.

I am reopening and keeping this discussion open for a while, for comments or support.

papuuh commented 3 years ago

The problem it's solved when i reinstall kalitorify, thank you to solve the problem.