Added new quick-commands and a hover state for the attack-mode-switcher buttons

This commit is contained in:
Mathew Fleisch 2017-03-29 01:11:17 -07:00
parent abfea1f683
commit 2ee6e16a2f
2 changed files with 10 additions and 0 deletions

View File

@ -40,6 +40,7 @@ pre {
float:left;
width: 25%;
}
.attack-mode:hover { color:#fff; }
.is_active_true, .is_active_false { cursor: pointer; }
#readme-target {
float:left;

View File

@ -3,6 +3,9 @@ var git_log = '/var/log/git.log';
var bunny_root = '/root/udisk';
var quick_commands = [
{
name:"Update apt-get",
command:'apt-get-update && apt-get upgrade && apt-get autoremove'
},{
name:"Clone git repository",
command:'if [ ! -d '+bunny_root+'/.git ]; then '
+'cd '+bunny_root+'; '
@ -53,5 +56,11 @@ var quick_commands = [
+'else '
+'echo "Cannot run tools installer: Missing git repository"; '
+'fi '
},{
name:"cat switch1/payload.txt",
command:'cat /root/udisk/payloads/switch1/payload.txt'
},{
name:"cat switch2/payload.txt",
command:'cat /root/udisk/payloads/switch2/payload.txt'
}
];