Giter VIP home page Giter VIP logo

mr.sip's People

Contributors

canerce avatar cengineer avatar hrkck avatar meliht avatar steglicd 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

mr.sip's Issues

Sip active response to attack

I can detect attacks and block the IP of the UDP packet. But I want an active response to attacks to the sip server, return malformed headers, pen test the IP for open ports, ....
REGISTER and INVITE responses would be needed.
Ideas;
return the nonce or challenge with very large size to create buffer overflows,
allow and never respond past ACK, force timeout on the the attacker software.
Do you have any other ideas on how to respond to attacks?

Why TypeError happened?

Hi all,

When I unzip Mr.Sip and installed related modules, typed "python3 mr.sip.py --help"
and "python3 mr.sip.py –usage" to displayed usage messages.
After that, I typed " python3 mr.sip.py --das --tn=192.168.50.159 -c 100 -r", then the bellow message showed.

=============================================
Traceback (most recent call last):
File "mr.sip.py", line 412, in
main()
File "mr.sip.py", line 147, in main
dosSmilator()
File "mr.sip.py", line 325, in dosSmilator
client_ip = netifaces.ifaddresses(conf.iface)[2][0]['addr']
TypeError: argument 1 must be str, not NetworkInterface
============================================

Any suggestions about that?
Thanks

SIP-ENUM thread worker is delayed by network request

The issue is best described in the picture below.

This bug is very hard to catch. It will most certainly only occur under a slow internet connection.

Here is a walkthrough of what is happening:

1 - The threads start running and generating the socket requests.
2 - The workQueue becomes empty after the last package is fed into the thread workers.
3 - Once the queue is all empty, the code goes forward to join all the threads into the main python process (thread.join)

Here is where the issue occurs (and my theory on its cause):

4 - When a network request is still being waited for inside a thread runner, the thread continues to run even though the main python process is terminated. This results in a quacky print where Mr.SIP continues to report its findings after the benchmark output (time duration: 2.99).

Related functions:
def networkScanner()
def sipenum_worker(run_event, option, dest_port, client_ip)

Any help is much appreciated.

sip_enum_issue

ImportError: No module named netifaces

Hi
when I try to run, I get this error. "ImportError: No module named netifaces"

Can you help me?
Thank you.

root@kali:~/Desktop/Mr.SIP# ./mr.sip.py --ns --tn 10.0.2.6 --dp=5060
Traceback (most recent call last):
File "./mr.sip.py", line 80, in
import random,string,ipaddress,netifaces,os,socket,logging
ImportError: No module named netifaces

global name 'cconf' is not defined


| / |_ / | | _ \ _ / | | _ \ | | __ _ ___ ___ | |
| |/| | '
_
| || |
) (
) _
| || |) || ' \ / / __|/ _ \/ _ |
| | | | | _ ) | || __/ _ ) | || /| |) | (| _ \ __/ (
| |
|
| |
||()/|| () |/|| |./ _,|/__|_,|

_             _ _ _                     _      _   _   _             _                                                                                                                                                                 

/ \ _ _ | () | __ _ _ __ | | / \ | || | __ _ | | __
/ _ | | | |/ | | __| / _ | ' \ / | / _ \| __| __/ _ |/ __| |/ /
/ ___ \ |
| | (
| | | |
| (
| | | | | (| | / ___ \ || || (_| | (| <
// __,|_,||_| _,|| ||_,| // __|__,|_
|_|_\


|_ |_ ___ | |
| |/ _ \ / _ | |
| | () | () | |
||_/ _/||+ ~ By Melih Tas (SN)

Greetz ~ Caner Onur Nesli Faruk

Traceback (most recent call last):
File "./mr.sip.py", line 623, in
main()
File "./mr.sip.py", line 180, in main
dosSmilator()
File "./mr.sip.py", line 326, in dosSmilator
cconf.verb = 0
NameError: global name 'cconf' is not defined
root@kali:/Mr.SIP#
root@kali:
/Mr.SIP#
root@kali:/Mr.SIP#
root@kali:
/Mr.SIP#

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.