-
Notifications
You must be signed in to change notification settings - Fork 2
How to: New Status
Stephen Parkinson edited this page Apr 18, 2018
·
16 revisions
- In sec-lab-bot-py add BANNER_NEW STATUS with other banners
- Use same formatting of FIGLET.renderText to add what the status will display on the bot
- In while loop (currently line 206) add a check for specific key press using the ch variable
- Create status using format:
if ch == ord(KEY): reqtype = NEW STATUS success = ssl_request(reqtype) if success: ncurses_write(win, BANNER NAME)
- Add FLAG_NEW STATUS_REQ = 0xBYTE
- In the ssl_request function add your new reqtype to the list of status
- In make_request function add elif for your reqtype