Coder Social home page Coder Social logo

mach1el / ghostnet Goto Github PK

View Code? Open in Web Editor NEW
59.0 5.0 11.0 23 KB

GhostNET script that will help you be safer on the cyber

Python 100.00%
python3 python-script python-networking tor tor-network python-tor-script networking network-programming hidden-service safebrowsing

ghostnet's Introduction

GhostNET

GhostNET program that will help you be safer on the cyber network.This program was made for transparently routing through tor, and of course, your network traffic will run under tor.This program is actually modified to work on ARCH linux with other linux distros, we have AnonSurf and BacBox-anonymous which also work the same like this program.This program was written by python language (v3.)

Requirements

  • Arch and Arch based OS
  • Python 3
  • tor
  • bleachbit
  • macchanger

New update log

  • auto install require programs
  • running on python3

Installation

  • git clone https://github.com/t7hm1/GhostNET.git && sudo cp GhostNET/ghostnet /usr/bin/ghostnet
  • sudo cp GhostNET/ghostnet.log /opt/
  • sudo chown (your user name):users /opt/ghostnet.log
  • sudo chmod +x /usr/bin/ghostnet
  • sudo ghostnet

Usage

  • ghostnet start
  • ghostnet stop
  • ghostnet status

Same Tools

Site to check

Demo

https://www.youtube.com/watch?v=MD3QrsElOz0

Preview

ghostnet's People

Contributors

bharath1910 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ghostnet's Issues

iptables v1.8.3 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.

I get some IP tables errors and after the script has run I has no access to the internet.

[anonymous@anonymous-pc ~]$ sudo ghostnet start [23:36:42] Starting Gh0stN3t [23:36:42] Killing network manager service --> dead [23:36:45] Killing dangerous processes to prevent leaks --> dead [23:36:45] Cleaning caches to prevent leaks --> done [23:36:45] Do you want to change mac address?(y/n) y |-- New MAC: 08:00:44:ee:1a:19 (DAVID SYSTEMS INC.) [23:36:52] Redirecting to tor --> iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): unknown option "--to-ports"
Try iptables -h' or 'iptables --help' for more information. iptables v1.8.3 (legacy): unknown option "--to-ports" Try iptables -h' or 'iptables --help' for more information.
iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): unknown option "--to-ports"
Try iptables -h' or 'iptables --help' for more information. iptables v1.8.3 (legacy): unknown option "--to-ports" Try iptables -h' or 'iptables --help' for more information.
iptables v1.8.3 (legacy): unknown option "--to-ports"
Try iptables -h' or 'iptables --help' for more information. iptables v1.8.3 (legacy): Couldn't load match owner':No such file or directory

Try iptables -h' or 'iptables --help' for more information. iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.3 (legacy): can't initialize iptables table nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.8.3 (legacy): unknown option "--to-ports"
Try iptables -h' or 'iptables --help' for more information. iptables v1.8.3 (legacy): Couldn't load match owner':No such file or directory

Try iptables -h' or 'iptables --help' for more information. done [23:36:59] (Re)start your tor service --> done [23:36:59] Starting network manager service --> actived [23:37:06] Updated resolv.conf to use tor

No such file or directory: 'ghostnet.log'

Traceback (most recent call last):
  File "/usr/bin/ghostnet", line 463, in <module>
    check()
  File "/usr/bin/ghostnet", line 434, in check
    with open('ghostnet.log','r') as logf:
FileNotFoundError: [Errno 2] No such file or directory: 'ghostnet.log'

Followed the instruction but got this. My distro is Manjaro

Select exit nodes

Is there any way to manually select tor exit nodes to be used with GhostNET?

Permanent change of colour

When running the script, it changes the color of the text on the terminal (from white to yellow) and this remains after the script (for all my commands and their returns, until the closing of the terminal).
This happens with all the options of the script.

I'm using it on ArchLinux and I use the Gnome terminal.

Thank you.

Unable to connect to WiFi and can't check my status

Traceback (most recent call last):
File "/usr/lib/python3.9/urllib/request.py", line 1342, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.9/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 950, in send
self.connect()
File "/usr/lib/python3.9/http/client.py", line 921, in connect
self.sock = self._create_connection(
File "/usr/lib/python3.9/socket.py", line 822, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python3.9/socket.py", line 953, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/ghostnet", line 463, in
check()
File "/usr/bin/ghostnet", line 446, in check
main()
File "/usr/bin/ghostnet", line 460, in main
DoJob(job)
File "/usr/bin/ghostnet", line 137, in init
self.status()
File "/usr/bin/ghostnet", line 178, in status
DoJob.check_status()
File "/usr/bin/ghostnet", line 117, in check_status
getip = urlopen('http://ipinfo.io/ip').read()
File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/usr/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib/python3.9/urllib/request.py", line 1371, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/usr/lib/python3.9/urllib/request.py", line 1345, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.