Giter VIP home page Giter VIP logo

cyberscan's People

Contributors

delirious-lettuce avatar medbenali 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  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

cyberscan's Issues

No module named pcapy

I got this error everytime I try to launch the script :(
I'm running macOS Sierra version 10.12.6, python 2.7.13

 python CyberScan.py 
Traceback (most recent call last):
  File "CyberScan.py", line 27, in <module>
    from scapy.all import *
  File "/Users/0x73764c/CyberScan/scapy/all.py", line 16, in <module>
    from arch import *
  File "/Users/0x73764c/CyberScan/scapy/arch/__init__.py", line 75, in <module>
    from bsd import *
  File "/Users/0x73764c/CyberScan/scapy/arch/bsd.py", line 12, in <module>
    from unix import *
  File "/Users/0x73764c/CyberScan/scapy/arch/unix.py", line 20, in <module>
    from pcapdnet import *
  File "/Users/0x73764c/CyberScan/scapy/arch/pcapdnet.py", line 30, in <module>
    import pcapy as pcap
ImportError: No module named pcapy

CyberScan works out of the box with Python version 2.6.x and 2.7.x.

Well I guess not :(

ImportError: No module named pcapy

I got this error everytime I try to launch the script :(
I'm running Windows 10, python 2.7.13

$ python CyberScan.py Traceback (most recent call last): File "CyberScan.py", line 28, in <module> from scapy.all import * File "C:\Users\clore\Desktop\CyberScan-1.1.1\scapy\all.py", line 16, in <module> from arch import * File "C:\Users\clore\Desktop\CyberScan-1.1.1\scapy\arch\__init__.py", line 79, in <module> from windows import * File "C:\Users\clore\Desktop\CyberScan-1.1.1\scapy\arch\windows\__init__.py", line 23, in <module> from scapy.arch import pcapdnet File "C:\Users\clore\Desktop\CyberScan-1.1.1\scapy\arch\pcapdnet.py", line 30, in <module> import pcapy as pcap ImportError: No module named pcapy

Disclosure of script in blog (Brazilian Portuguese)

First of all, congratulations to the script and to spread it in the community. It's fantastic!

I created a post, in Portuguese from Brazil, in my blog about your script (CyberScan). My intention is to spread knowledge and present to the Brazilian public its excellent tool. If at any time you can reference my post, I will be very happy!

When you have news on new tools and scripts, let me know!

Best regards,

No route found for IPv6 destination

root@kali:/tools/CyberScan# ls
CyberScan.py LICENSE README.md doc libs scapy
GeoLiteCity.dat 'PCAP Files' banner.txt images pygeoip test.pcap
root@kali:
/tools/CyberScan# python CyberScan.py -v
WARNING: No route found for IPv6 destination :: (no default route?)
1.1.1
root@kali:~/tools/CyberScan#
please help me i could not install CyberScan??? how to fix this????

thanks in advance...

To check the source

import socket

Define the target host and the range of ports to scan

target_host = "example.com"
target_ports = [80, 443, 22, 8080]

Function to perform a port scan

def port_scan(target_host, target_ports):
for port in target_ports:
try:
# Create a socket object
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

        # Set a timeout for the connection attempt
        socket.setdefaulttimeout(2)

        # Attempt to connect to the target host and port
        client.connect((target_host, port))

        # If the connection is successful, print an open port message
        print(f"Port {port} is open")

        # Close the socket
        client.close()

    except socket.error:
        # If the connection fails, print a closed port message
        print(f"Port {port} is closed")

Call the port_scan function

port_scan(target_host, target_ports)

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.