You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifargs.shellcodenotinshellcraft.templates:
log.error("Unknown shellcraft template %r. Use --list to see available shellcodes."%args.shellcode)
Which requires a recursive walk of all of the shellcraft templates and their directories. This can be very slow if e.g. the pwntools installation is mounted as a shared Docker folder.
…1651)
* [shellcraft] Avoid recursive walk of all templates for command line
Fixes#1650
* Avoid double-fetch
* Add changelog
* [pylint] Only warn for additions
Currently,
shellcraft
does this:Which requires a recursive walk of all of the shellcraft templates and their directories. This can be very slow if e.g. the pwntools installation is mounted as a shared Docker folder.
We should be able to check to see if the template exists by its exact name first, and avoid this recursive walk.
Here's an example showing the
strace
output of walking the entire hierarchy.The text was updated successfully, but these errors were encountered: