mgerst / flag-slurper

A red team utility for Cyber Defense Competitions.
https://flag-slurper.rtfd.io
MIT License
3 stars 2 forks source link

Add shell command #96

Closed mgerst closed 1 year ago

mgerst commented 4 years ago

Add command to spawn a shell with the given project already set. This works in a similar fashion to poetry shell and the like.

$ flag-slurper shell ~/cdc/isu1-20
[-] Launching shell in project
$ echo $SLURPER_PROJECT
~/cdc/isu1-20

This means you no longer need to do eval $(flag-slurper project env ~/cdc/isu1-20).

Closes #74