1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2025-01-03 03:40:54 +00:00

Since all the shemu test file are synthetic and clean, I removed the password from the test archive.

This commit is contained in:
BITDEFENDER\vlutas 2022-12-16 15:17:39 +02:00
parent 102b43dd00
commit 61382e95f0
3 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,5 @@
# Shellcode Emulator Tests # Shellcode Emulator Tests
To avoid detections from anti-malware products the test files are stored in a password protected ZIP. The password is *infected*. The test script will automatically unzip the files before running the tests.
These tests are used to validate basic bdshemu functionality. Each test consists of up to three files: These tests are used to validate basic bdshemu functionality. Each test consists of up to three files:
* The binary test file. The name format for this type of file is `name_32|64[_r0]`. No extension must be provided; 32 indicates 32 bit test file, 64 indicates 64 bit test file, and r0 indicates kernel payload * The binary test file. The name format for this type of file is `name_32|64[_r0]`. No extension must be provided; 32 indicates 32 bit test file, 64 indicates 64 bit test file, and r0 indicates kernel payload
* The output result file. Must be named the same as the binary test file, but with the extension .result * The output result file. Must be named the same as the binary test file, but with the extension .result

Binary file not shown.

View File

@ -73,7 +73,7 @@ cleanup_files = []
print("Extracting test archive...\n") print("Extracting test archive...\n")
with ZipFile('bdshemu_test.zip') as zf: with ZipFile('bdshemu_test.zip') as zf:
cleanup_files = zf.namelist() cleanup_files = zf.namelist()
zf.extractall(pwd=b'infected') zf.extractall()
print("Done!\n") print("Done!\n")
for dn in glob.glob("*"): for dn in glob.glob("*"):