mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
Added new quick-commands and a hover state for the attack-mode-switcher buttons
This commit is contained in:
parent
abfea1f683
commit
2ee6e16a2f
@ -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;
|
||||
|
||||
@ -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'
|
||||
}
|
||||
];
|
||||
Loading…
x
Reference in New Issue
Block a user