Skip to content
forked from OWASP/pysap

This Python library provides modules for crafting and sending packets using SAP's NI, Message Server, Router, RFC, SNC, Enqueue and Diag protocols.

License

Notifications You must be signed in to change notification settings

lichengzhe/pysap

 
 

Repository files navigation

pysap - Python library for crafting SAP's network protocols packets

Build Status Build status Code Health Code Issues Latest Version Documentation Status

Copyright (C) 2012-2017 by Martin Gallo, Core Security

Version 0.1.14.dev0 (XXX 2017)

Overview

SAP Netweaver is a technology platform for building and integrating SAP business applications. Communication between components uses different network protocols. While some of them are standard and well-known protocols, others are proprietaries and public information is not available.

pysap is a Python library that provides modules for crafting and sending packets using SAP's NI, Message Server, Router, RFC, SNC, Enqueue and Diag protocols. The modules are build on top of Scapy and are based on information acquired at researching the different protocols and services.

Features

  • Dissection and crafting of the following network protocols:

    • SAP Network Interface (NI)
    • SAP Diag
    • SAP Enqueue
    • SAP Router
    • SAP Message Server (MS)
    • SAP SNC
  • Client interfaces for handling the following file formats:

    • SAP SAR archive files
  • Library implementing SAP's LZH and LZC compression algorithms.

  • Automatic compression/decompression of payloads with SAP's algorithms.

  • Client, proxy and server classes implemented for some of the protocols.

  • Example scripts to illustrate the use of the different modules and protocols.

Installation

To install pysap simply run:

$ pip install pysap

Documentation

Documentation is available at Read the Docs.

License

This library is distributed under the GPLv2 license. Check the COPYING file for more details.

Authors

The library was designed and developed by Martin Gallo from the Security Consulting Services team of Core Security.

Contributors

Contributions made by:

Contact

Whether you want to report a bug or give some suggestions on this package, drop us a few lines at [email protected] or contact the author email [email protected].

About

This Python library provides modules for crafting and sending packets using SAP's NI, Message Server, Router, RFC, SNC, Enqueue and Diag protocols.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 59.7%
  • C++ 37.8%
  • C 2.5%