python3学习手册def icmp_checksum(packet): # inputif len(packet) & 1: # 长度的末位为1表示:长度不为2的倍数 (即末位不为0) packet = packet + b'\x00' # 0填充 words = array.array('h', packet) sum = 0 sum = (sum >> 16) + (sum & 0xffff) return (~sum) & 0xffff # 反回2字节校验和的反码 def generate_icmp_packet(icmp_data): # input icmp_type = 8 # echo_request icmp_code = 0 icmp_type, icmp_code, icmp_checkum, icmp_id, icmp_sequence) icmp_packet = icmp_header + icmp_data icmp_checkum = icmp_checksum(icmp_packet) icmp_header = struct.pack('bbHHh', icmp_type, icmp_code, 0 码力 | 213 页 | 3.53 MB | 1 年前3
05. 李枫 用于 Linux 内核调试的 Python 2) eBPF 2.1 BPF (Berkeley Packet Filter, aka cBPF) https://en.wikipedia.org/wiki/Berkeley_Packet_Filter http://www.tcpdump.org/papers/bpf-usenix93.pdf History introduced in LLVM 3.7 release http://llvm.org/docs/CodeGenerator.html#the-extended- berkeley-packet-filter-ebpf-backend o $LLVM_SRC/lib/Target/BPF http://cilium.readthedocs0 码力 | 63 页 | 4.07 MB | 1 年前3
PyArmor Documentation v5.6.5object xxxx isn’t wrapped Error: Try to run unauthorized function Check license failed: Invalid input packet. ‘XXX’ codec can’t decode byte 0xXX /lib64/libc.so.6: version ‘GLIBC_2.14’ not found License Purchase obfuscated scripts. In this case, try to run obfuscated scripts, it will report this error: Invalid input packet. Check license failed. Two types of license.lic In PyArmor, there are 2 types of license.lic license files, the other solution to upgrade PyArmor to v5.4.5 later. Check license failed: Invalid input packet. If print this error as running the obfuscated scripts, check if there is any of license.lic or0 码力 | 103 页 | 86.97 KB | 1 年前3
PyArmor Documentation v5.5.7object xxxx isn’t wrapped Error: Try to run unauthorized function Check license failed: Invalid input packet. License Purchase Support Platfroms Change Logs 5.5.7 5.5.6 5.5.5 5.5.4 5.5.3 5.5.2 5.5.1 5.5 obfuscated scripts. In this case, try to run obfuscated scripts, it will report this error: Invalid input packet. Check license failed. Two types of license.lic In PyArmor, there are 2 types of license.lic license files, the other solution to upgrade PyArmor to v5.4.5 later. Check license failed: Invalid input packet. If print this error as running the obfuscated scripts, check if there is any of license.lic or0 码力 | 104 页 | 85.70 KB | 1 年前3
PyArmor Documentation v5.6.0object xxxx isn’t wrapped Error: Try to run unauthorized function Check license failed: Invalid input packet. License Purchase Support Platfroms Change Logs 5.6.0 5.5.7 5.5.6 5.5.5 5.5.4 5.5.3 5.5.2 5.5 obfuscated scripts. In this case, try to run obfuscated scripts, it will report this error: Invalid input packet. Check license failed. Two types of license.lic In PyArmor, there are 2 types of license.lic license files, the other solution to upgrade PyArmor to v5.4.5 later. Check license failed: Invalid input packet. If print this error as running the obfuscated scripts, check if there is any of license.lic or0 码力 | 103 页 | 85.82 KB | 1 年前3
PyArmor Documentation v5.6.0. . . . . . . . . . . . . . . . . . . . . . . . . 68 15.11 Check license failed: Invalid input packet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 16 License 69 16.1 Purchase obfuscated scripts. In this case, try to run obfuscated scripts, it will report this error: Invalid input packet. Check license failed. 6.9 Two types of license.lic In PyArmor, there are 2 types of license.lic the other solution to upgrade PyArmor to v5.4.5 later. 15.11 Check license failed: Invalid input packet. If print this error as running the obfuscated scripts, check if there is any of license.lic or0 码力 | 107 页 | 352.50 KB | 1 年前3
PyArmor Documentation v5.5.4. . . . . . . . . . . . . . . . . . . . . . . . . 68 15.11 Check license failed: Invalid input packet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 16 License 69 16.1 Purchase obfuscated scripts. In this case, try to run obfuscated scripts, it will report this error: Invalid input packet. Check license failed. 6.9 Two types of license.lic In PyArmor, there are 2 types of license.lic the other solution to upgrade PyArmor to v5.4.5 later. 15.11 Check license failed: Invalid input packet. If print this error as running the obfuscated scripts, check if there is any of license.lic or0 码力 | 107 页 | 348.47 KB | 1 年前3
PyArmor Documentation v5.9.5Problem 83 PyArmor Documentation, Release 5.9.0 14.4.7 Run obfuscated scripts reports: Invalid input packet If the scripts are obfuscated in different platform, check the notes in Distributing Obfuscated • Fix help message errors in command obfuscate 16.29 5.6.7 • Fix issue (#129): “Invalid input packet” on raspberry pi (armv7) • Add new obfuscation mode: obf_code == 2 16.30 5.6.6 • Remove unused mode is enabled in some MacOS machines 16.41 5.5.3 • Fix issue: it will raise error “Invalid input packet” to import 2 independent obfuscated packages in 64-bit Windows. 16.42 5.5.2 • Fix bug of command0 码力 | 131 页 | 428.65 KB | 1 年前3
PyArmor Documentation v6.2.7information, refer to Special Handling of Entry Script Run obfuscated scripts reports: Invalid input packet If the scripts are obfuscated in different platform, check the notes in Distributing Obfuscated command obfuscate Fix help message errors in command obfuscate 5.6.7 Fix issue (#129): “Invalid input packet” on raspberry pi (armv7) Add new obfuscation mode: obf_code == 2 5.6.6 Remove unused exported symbols advanced mode is enabled in some MacOS machines 5.5.3 Fix issue: it will raise error “Invalid input packet” to import 2 independent obfuscated packages in 64-bit Windows. 5.5.2 Fix bug of command pack:0 码力 | 159 页 | 123.91 KB | 1 年前3
PyArmor Documentation v6.3.1information, refer to Special Handling of Entry Script Run obfuscated scripts reports: Invalid input packet If the scripts are obfuscated in different platform, check the notes in Distributing Obfuscated command obfuscate Fix help message errors in command obfuscate 5.6.7 Fix issue (#129): “Invalid input packet” on raspberry pi (armv7) Add new obfuscation mode: obf_code == 2 5.6.6 Remove unused exported symbols advanced mode is enabled in some MacOS machines 5.5.3 Fix issue: it will raise error “Invalid input packet” to import 2 independent obfuscated packages in 64-bit Windows. 5.5.2 Fix bug of command pack:0 码力 | 161 页 | 124.89 KB | 1 年前3
共 76 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













