pysap - Python library for crafting SAP’s network protocols packets¶
Version v0.2.0.dev0 (Installation)
Overview¶
SAP Netweaver and SAP HANA are technology platforms for building and integrating SAP business applications. Communication between components uses different network protocols and some services and tools make use of custom file formats as well. While some of them are standard and well-known protocols, others are proprietaries and public information is generally not available.
pysap
is an open source Python 3 library that provides modules for crafting and sending packets
using SAP’s NI, Diag, Enqueue, Router, MS, SNC, IGS, RFC
and HDB protocols. In addition, support for creating and parsing different proprietary
file formats is included. The modules are built on top of Scapy and
are based on information acquired at researching the different protocols, file formats
and services.
Features¶
Dissection and crafting of the following network protocols:
SAP Network Interface (
NI)SAP
DiagSAP
EnqueueSAP
RouterSAP Message Server (
MS)SAP Secure Network Connection (
SNC)SAP Internet Graphic Server (
IGS)SAP Remote Function Call (
RFC)SAP HANA SQL Command Network (
HDB)
Client interfaces for handling the following file formats:
SAP
SARarchive filesSAP Personal Security Environment (
PSE) filesSAP SSO Credential (
Credv2) files
Library implementing SAP’s
LZHandLZCcompression 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.
User guide¶
- User guide
- Protocols
- SAP Diag
- SAP Enqueue
- SAP HANA SQL Command Network Protocol (HDB)
- SAP HANA SQL Command Network Protocol Initialization Request Packet
- SAP HANA SQL Command Network Protocol Initialization Reply Packet
- SAP HANA SQL Command Network Protocol packet
- SAP HANA SQL Command Network Protocol Segment packet
- SAP HANA SQL Command Network Protocol Part packet
- SAP HANA SQL Command Network Protocol Authenticate Segment
- SAP HANA SQL Command Network Protocol Client ID Part
- SAP HANA SQL Command Network Protocol Command Part
- SAP HANA SQL Command Network Protocol Error Part
- SAP HANA SQL Command Network Protocol Option Part Row
- SAP HANA SQL Command Network Protocol Multi-Line Option Part
- SAP Internet Graphic Server (IGS)
- SAP Message Server (MS)
- SAP Message Server packet
- SAP Message Server packet opcodes
- SAP Message Server Client packets
- SAP Message Server stats packets
- SAP Message Server Logon packet
- SAP Message Server Counter packet
- SAP Message Server Adm Record opcodes
- SAP Message Server Dispatcher Info packets
- SAP Message Server Property packet
- SAP Message Server J2EE packets
- SAP NI (Network Interface)
- SAP RFC
- SAP Router
- SAP SNC
- File formats
- Example scripts
Development guide¶
- Development
- Changelog
- v0.2.0.dev0 - unreleased
- v0.1.19 - 2021-04-29
- v0.1.18 - 2020-07-15
- v0.1.17 - 2019-11-05
- v0.1.16 - 2018-06-19
- v0.1.15 - 2018-03-27
- v0.1.14 - 2017-10-04
- v0.1.13 - 2017-02-16
- v0.1.12.1 - 2016-12-19
- v0.1.12 - 2016-12-16
- v0.1.11 - 2016-10-12
- v0.1.10 - 2016-03-25
- v0.1.9 - 2016-02-08
- v0.1.8 - 2015-10-29
- v0.1.7 - 2015-05-13
- v0.1.6 - 2015-03-25
- v0.1.5 - 2015-01-16
- v0.1.4 - 2014-03-25
- v0.1.3 - 2013-08-28
- v0.1.2 - 2012-09-27
- v0.1.1 - 2012-07-29
- Testing guide
- Documentation
- Notebooks
- Code contributions
- Bug reporting
- Changelog
- Developer Interface