Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SaadAhla/Shellcode-Hide
/ printResult
Function
printResult
format.py:3–5 ·
view source on GitHub ↗
(content)
Source
from the content-addressed store, hash-verified
1
import
sys
2
3
def
printResult(content):
4
5
print(
'unsigned char shellcode[] = { 0x'
+
', 0x'
.join(hex(x)[2:]
for
x in content) +
' };'
)
6
7
try
:
8
file = open(sys.argv[1],
"rb"
)
Callers
1
format.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected