contact@p1sec.com

You are in the middle of a SS7 pentest? You want to convert SS7 pointcode from decimal to ITU form, from 3-8-3 to 5-4-5 ? You want to look for patterns in SS7 point code distribution and infer topology or organization design? SS7calc may help you there.

SS7calc does the same thing for SS7 world as ipcalc does for IP world. SS7calc is one of the technology used in P1 Telecom Auditor, the vulnerability assessment solution from P1 Security.

Download

Download in zip or tarball format.

Examples

$ ./ss7calc.py -i 12345
SS7calc – SS7 Signaling Point Code calculator
by Philippe Langlois – http://www.p1security.com

SPC Decimal : 12345
Format : Unknown
5-4-5 Format: 24-1-25
3-8-3 Format: 6-7-1

Usage

$ ss7calc.py -h
ss7calc.py: SS7calc - SS7 Signaling Point Code calculator
by Philippe Langlois - http://www.p1security.com

"-h", "--help"
 displays this message
"-3", "--383"
 set Signaling Point Code as 3-8-3 Format
"-5", "--545"
 set Signaling Point Code as 5-4-5 Format
"-i", "--int"
 set Signaling Point Code as decimal format
"-u", "--itu"
 specify SPC as ITU
"-a", "--ansi"
 specify SPC as ANSI
"-r", "--read"
 pass file (or standard input if file is '-') and process the content as SPC values

Examples:
$ ./ss7calc.py -i 12345
SS7calc - SS7 Signaling Point Code calculator

SPC Decimal : 12345
Format      : Unknown
5-4-5 Format: 24-1-25
3-8-3 Format: 6-7-1

For more information:
http://en.wikipedia.org/wiki/Point_code

For online versions:
http://jhartman.webd.pl/pc/index.php
http://www.linuxfocus.org/~guido/javascript/ansi-point-code-converter.htm

 for help use --help

Links

For more information:

http://en.wikipedia.org/wiki/Point_code

For online versions:
http://jhartman.webd.pl/pc/index.php
http://www.linuxfocus.org/~guido/javascript/ansi-point-code-converter.htm

Information and License

SS7calc - SS7 Signaling Point Code calculator
by Philippe Langlois - http://www.p1security.com

Code under eGPL license. http://www.egpl.info