Giter VIP home page Giter VIP logo

katana's Introduction

$$\ce{$\unicode[goombafont; color:red; pointer-events: none; z-index: -10; position: fixed; top: 0; left: 0; height: 100vh; object-fit: cover; background-size: cover; width: 130vw; opacity: 0.5; background: url('https://raw.githubusercontent.com/TebbaaX/imgs/master/69876387_2568427369875242_1346302080691732480_n.jpg');]{x0000}$}$$

katana's People

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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

katana's Issues

I got block from google

I am getting an error given below(any suggestion):
.
Traceback (most recent call last):
File "katana-ds.py", line 66, in
from Modes import Gmode
File "/root/tools/Katana/Modes/Gmode.py", line 69, in
for gamma in search(query, tld=beta, num=7,pause=2):
File "/usr/local/lib/python3.7/dist-packages/googlesearch/init.py", line 312, in search
html = get_page(url, user_agent)
File "/usr/local/lib/python3.7/dist-packages/googlesearch/init.py", line 176, in get_page
response = urlopen(request)
File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.7/urllib/request.py", line 563, in error
result = self._call_chain(*args)
File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/lib/python3.7/urllib/request.py", line 755, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 429: Too Many Requests

User agent

Hello! Are you can change user-agent for requests to Google? If you set to Googlebot 2.1 the problem with urllib.error.HTTPError: HTTP Error 429: Too Many Requests seems to be solved in Firefox but i don't know how to set it in Katana :D.

i used kalilinux

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 747, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python3.9/urllib/request.py", line 523, in open
response = meth(req, response)
File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
response = self.parent.error(
File "/usr/lib/python3.9/urllib/request.py", line 561, in error
return self._call_chain(*args)
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 641, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 429: Too Many Requests

I can't do a google search

am getting this error

Traceback (most recent call last):
File "kds.py", line 67, in
from Modes import Scada
File "/home/###/Desktop/bee/Katana/Modes/Scada.py", line 94, in
for gamma in search(query, tld=beta,stop=50, num=10,pause=2):
TypeError: search() got an unexpected keyword argument 'tld'

Tor66 is down

When using the "-t :tor mode" flag, the program crashes for every query I make, this is because the Tor66 service is down and is no longer running.

http://tor77orrbgejplwp.onion/search?q=" + xquery + "&sorttype=rel&page=1" ==> Invalid Onionsite Address

Kali + Tor Mode: Invaid Hostname Rejecting

I really never have written an issue before so sorry about this if it appears to be bad:

My understanding is the developers have not updated the onions from v2 to v3 which obviously would create a fatal error.
So can anyone please tell me if this maybe the issue and or if I can fix the issue myself and how I should go about it... Here's full output:

[+] Searching in "Phobos" http://phobosxilamwcg75xt22id7aywkzol6q6rfl2flipcqoc4e4ahima5id.onion...  
[+] Done from Phobos

[+] Searching in "TOR66" http://tor77orrbgejplwp.onion... 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/socks.py", line 809, in connect
    negotiate(self, dest_addr, dest_port)
  File "/usr/lib/python3/dist-packages/socks.py", line 443, in _negotiate_SOCKS5
    self.proxy_peername, self.proxy_sockname = self._SOCKS5_request(
  File "/usr/lib/python3/dist-packages/socks.py", line 533, in _SOCKS5_request
    raise SOCKS5Error("{:#04x}: {}".format(status, error))
socks.SOCKS5Error: 0x01: General SOCKS server failure

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kali/.local/lib/python3.10/site-packages/urllib3/contrib/socks.py", line 90, in _new_conn
    conn = socks.create_connection(
  File "/usr/lib/python3/dist-packages/socks.py", line 209, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/socks.py", line 199, in create_connection
    sock.connect((remote_host, remote_port))
  File "/usr/lib/python3/dist-packages/socks.py", line 47, in wrapper
    return function(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/socks.py", line 814, in connect
    raise GeneralProxyError("Socket error", error)
socks.GeneralProxyError: Socket error: 0x01: General SOCKS server failure

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kali/.local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 665, in urlopen
    httplib_response = self._make_request(
  File "/home/kali/.local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 387, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.10/http/client.py", line 1282, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1328, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1277, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1037, in _send_output
    self.send(msg)
  File "/usr/lib/python3.10/http/client.py", line 975, in send
    self.connect()
  File "/home/kali/.local/lib/python3.10/site-packages/urllib3/connection.py", line 184, in connect
    conn = self._new_conn()
  File "/home/kali/.local/lib/python3.10/site-packages/urllib3/contrib/socks.py", line 121, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.contrib.socks.SOCKSConnection object at 0x7f2ed4b6ab30>: Failed to establish a new connection: 0x01: General SOCKS server failure

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kali/.local/lib/python3.10/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/home/kali/.local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 719, in urlopen
    retries = retries.increment(
  File "/home/kali/.local/lib/python3.10/site-packages/urllib3/util/retry.py", line 436, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: SOCKSHTTPConnectionPool(host='tor77orrbgejplwp.onion', port=80): Max retries exceeded with url: /search?q=index&sorttype=rel&page=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7f2ed4b6ab30>: Failed to establish a new connection: 0x01: General SOCKS server failure'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kali/Desktop/Katana/kds.py", line 71, in <module>
    from Modes import Tor
  File "/home/kali/Desktop/Katana/Modes/Tor.py", line 154, in <module>
    session.get("http://tor77orrbgejplwp.onion/search?q=" + xquery + "&sorttype=rel&page=1" )
  File "/home/kali/.local/lib/python3.10/site-packages/requests/sessions.py", line 543, in get
    return self.request('GET', url, **kwargs)
  File "/home/kali/.local/lib/python3.10/site-packages/requests/sessions.py", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/kali/.local/lib/python3.10/site-packages/requests/sessions.py", line 643, in send
    r = adapter.send(request, **kwargs)
  File "/home/kali/.local/lib/python3.10/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: SOCKSHTTPConnectionPool(host='tor77orrbgejplwp.onion', port=80): Max retries exceeded with url: /search?q=index&sorttype=rel&page=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7f2ed4b6ab30>: Failed to establish a new connection: 0x01: General SOCKS server failure')) 

Anyway here's some new onions that should be added/updated:
http://3bbad7fauom4d6sgppalyqddsqbf5u5p56b5k5uk2zxsy3d6ey2jobad.onion/ - OnionLand
http://wapabp2pnqczbxq4dqdo7txexhkqjzazmvrljxijtd5s2cohvejf4nqd.onion/ - Tor Search
http://juhanurmihxlp77nkq76byazcldy2hlmovfu2epvl5ankdibsot4csyd.onion/ Ahima
http://tordexu73joywapk2txdr54jed4imqledpcvcuf75qsas2gwdgksvnyd.onion - Tor Dex
http://2fd6cemt4gmccflhm6imvdfvli3nf7zn6rfrwpsy7uhxrgbypvwf5fad.onion - Excavator

I'm hoping that an update will be pushed to fix the host names and if the host name is Invalid/not working it should be skipped and fatal errors sent to a log rather than crashing the program

you know

Traceback (most recent call last):
File "Gmode.py", line 2, in
import proxybroker
ModuleNotFoundError: No module named 'proxybroker'

Adding options

I would recommend to add proxies support and save result option

执行报错

image
您好,每次执行一会,程序就会报错,我也没找到 .google-cookie文件。

ConnectionRefusedError: [Errno 111] Connection refused

I get the following error when starting in Tor mode

[!] Tor proxy must be on port 9050
[+] Checking TOR...
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/socks.py", line 787, in connect
super(socksocket, self).connect(proxy_addr)
ConnectionRefusedError: [Errno 111] Connection refused

Use proxyfile

Hello is it possible to make the program use a proxyfile?
It's also better to make the program saves the output from proxy scraping

line 63 and line 73 Error

Hello, i like to try ur tool but it comes error.

Can u plz help me to solve it? i installed required.

Traceback (most recent call last): File "/home/Katana-master/kds.py", line 63, in <module> from Modes import Gmode File "/home/Katana-master/Modes/Gmode.py", line 73, in <module> for gamma in search(query, tld=beta, num=10 , stop=95 , pause=2): TypeError: search() got an unexpected keyword argument 'tld'

i see its line with gmode module but if i try to install

python3 -m pip install gmode
ERROR: Could not find a version that satisfies the requirement gmode
ERROR: No matching distribution found for gmode

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.