GithubHelp home page GithubHelp logo

sipdig's Introduction

sipdig

Tool for Sip Digest Calculate/Validate

-u - username
-p - password
-ur - URI  (example: sip:192.168.0.100:5070)
-r - realm (example: asterisk or some URI)
-n - nonce (response from SIP server)
-m - sip-method (default REGISTER)
-cn - cnonce (client nonce)
-nc - nonce_count (generate from client)
-qp - qop ("auth", "auth-in")
-d - check your current Digest response for valid, work with -p 

Example:

./sipdig -u USER -p PASS -r REALM -ur URI -n NONCE -m REGISTER

Validate your response from sip dump, copy string from Proxy-Authorization (Authorization), all data after Digest:

Contact: <sip:[email protected]:5087;transport=udp>;expires=3600"
User-Agent: Linphone Desktop/ (Ubuntu 22.04.1 LTS, Qt 5.15.3) LinphoneCore/4.4.21
Proxy-Authorization:  Digest realm="127.0.0.1", nonce="Y1D5w2NQ+Jfd3lJixhK5CmoAy38b/VRs", username="Q-_HE72tib",  uri="sip:[email protected]", response="a898a67660c4aa99f384072b31b16f3a"

Additionally, enter your password and check:

./sipdig -m INVITE -p iCc2W5DsX4 -d 'realm="127.0.0.1", nonce="Y1D5w2NQ+Jfd3lJixhK5CmoAy38b/VRs", username="Q-_HE72tib", uri="sip:[email protected]", response="66c17f995f15d80581f86d634076cf7f"'

Responcse is valid
66c17f995f15d80581f86d634076cf7f

sipdig's People

Stargazers

 avatar

Watchers

 avatar

Forkers

nevian427

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.