Code Monkey home page Code Monkey logo

gsec's Introduction

gotr00t0da's GitHub stats


👨‍💻: About Me :

I'm a Hacker and Programmer. I enjoy developing tools for ethical hacking.


🛠️ Languages and Tools :

Python 

🔥 My Stats :

GitHub Streak

Top Langs

gsec's People

Contributors

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

gsec's Issues

Tool not able to execute

Please help me with this error:

python3 gsec.py
Traceback (most recent call last):
File "/home/karan/tools/Gsec/gsec.py", line 3, in
from utils import path_traversal, portscanner, loginscanner, techscanner, cmsscanner, passive_recon, crawler
File "/home/karan/tools/Gsec/utils/passive_recon.py", line 2, in
import whois
File "/home/karan/.local/lib/python3.11/site-packages/whois/init.py", line 15, in
from .parser import WhoisEntry
File "/home/karan/.local/lib/python3.11/site-packages/whois/parser.py", line 18, in
from past.builtins import basestring
File "/usr/local/lib/python3.11/dist-packages/future-0.16.0-py3.11.egg/past/builtins/init.py", line 43, in
from past.builtins.noniterators import (filter, map, range, reduce, zip)
File "/usr/local/lib/python3.11/dist-packages/future-0.16.0-py3.11.egg/past/builtins/noniterators.py", line 24, in
from past.types import basestring
File "/usr/local/lib/python3.11/dist-packages/future-0.16.0-py3.11.egg/past/types/init.py", line 25, in
from .oldstr import oldstr
File "/usr/local/lib/python3.11/dist-packages/future-0.16.0-py3.11.egg/past/types/oldstr.py", line 5, in
from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.11/collections/init.py)

[FTL] Could not run nuclei: no templates provided for scan

Hi.

I placed nuclei-templates directory inside where I run the scan, in the / directory (through link), in the home directory (through link) but still having this error.

[FTL] Could not run nuclei: no templates provided for scan

How can I solve this issue?

Gsec version 1.5.

Regards

RS

Cannot run gsec.py

Traceback (most recent call last):
File "/Users/host/tools/Gsec/gsec.py", line 2, in
from modules import fetch_requests, scan, urltoip
ImportError: cannot import name 'scan' from 'modules' (/Users/host/tools/Gsec/modules/init.py)

Traceback

hi
what's the problema?
┌──(kali㉿kali)-[~/Gsec] └─$ python3 gsec.py -t http://testphp.vulnweb.com/ Traceback (most recent call last): File "/home/kali/Gsec/gsec.py", line 4, in <module> from utils import param_finder, javascript_scanner, headers ImportError: cannot import name 'headers' from 'utils' (/home/kali/Gsec/utils/__init__.py)
thx

error

[+] - /bin/sh: 1: nuclei: not found

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 704, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 450, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 445, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.10/http/client.py", line 1374, in getresponse
response.begin()
File "/usr/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.10/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 786, in urlopen
retries = retries.increment(
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/lib/python3/dist-packages/six.py", line 718, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 704, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 450, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 445, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.10/http/client.py", line 1374, in getresponse
response.begin()
File "/usr/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.10/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/kali/Gsec/gsec.py", line 97, in
shellshock.shellshock_scan(args.target)
File "/home/kali/Gsec/plugins/shellshock.py", line 9, in shellshock_scan
res = requests.get(domain, verify=False, headers=header)
File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 501, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

'Python3' isnt recgonized as a cmdlet.

Hey! I know its in beta and I was just testing it.

I tried to do a search on my website, and after it got all the ports and stuff it ended up with this result:

image

Maybe you should do:

python || python3 just so both cmds work.

Problem Using Gsec on VM Kali Linux

I have problem when using gsec on kali linux vm, how to resolve it.

┌──(kali㉿kali)-[~/tools/Gsec]
└─$ python3 -V
Python 3.10.5

┌──(kali㉿kali)-[~/tools/Gsec]
└─$ python3 gsec.py
Traceback (most recent call last):
File "/home/kali/tools/Gsec/gsec.py", line 5, in
from vuln_db import hostheader_injection, nuclei_vulns, corsmisconfig, crossdomain, head_vuln
File "/home/kali/tools/Gsec/vuln_db/nuclei_vulns.py", line 2, in
from modules import scan, sub_output
ImportError: cannot import name 'sub_output' from 'modules' (/home/kali/tools/Gsec/modules/init.py)

Unable to run Normal/Active scan

Whenever trying to run "sudo python3 gsec.py -t https://domain.com i get an error as below:

Traceback (most recent call last):
File "/home/kali/Gsec/gsec.py", line 3, in
from utils import portscanner, loginscanner, techscanner, cmsscanner, passive_recon, path_traversal, crawler, osdetect
File "/home/kali/Gsec/utils/techscanner.py", line 1, in
from builtwith import builtwith
ModuleNotFoundError: No module named 'builtwith'

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.