This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
print_usage() { | |
echo "\ | |
Usage: wes-wrap [OPTION]... -f [systeminfo] | |
Search for possible Windows exploits given systeminfo.exe output | |
Windows Exploit Suggester 0.98 ( https://github.com/bitsadmin/wesng/ ) | |
required arguments: | |
-f File Specify the systeminfo file | |
optional arguments: | |
-i Impact Only display vulnerabilities with a given impact |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
LWin:: | |
Input, x, L1 ; Catches key after winkey | |
if (ErrorLevel = "NewInput") ; If catching was interrupted | |
{ | |
Send #+r ; Set this to your powertoys run shortcut |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urwid | |
#---Header--- | |
header_text = urwid.Text(u' Periodic Table') | |
header = urwid.AttrMap(header_text, 'titlebar') | |
#---Periodic Table--- | |
periodictable_text = urwid.Text(u'A periodic table should be here') | |
periodictable_filler = urwid.Filler(periodictable_text, valign='top', top=1, bottom=1) | |
v_padding = urwid.Padding(periodictable_filler, left=1, right=1) |