2 ms·
Wow, I wouldn't have expected Tenable to shell out to curl, especially when the curl only adds two headers and they omitted the "--fail" that would cause non-20
by mdaniel 4y ago
Wow, I wouldn't have expected Tenable to shell out to curl, especially when the curl only adds two headers and they omitted the "--fail" that would cause non-200 responses to return a non-zero exit code :-(
https://github.com/tenable/ghidra_tools/blob/main/g3po/g3po.py#L124 https://github.com/tenable/ghidra_tools/blob/main/g3po/g3po....
- obliviasimplex 4y agoFair point. It was a quick and dirty workaround, in the absence of `requests` in Ghidra's Jython distribution, but it turns out that `httplib` is available, and the latest commit uses that to do the HTTP request instead.