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:
@@ -40,6 +40,7 @@ pre {
|
|||||||
float:left;
|
float:left;
|
||||||
width: 25%;
|
width: 25%;
|
||||||
}
|
}
|
||||||
|
.attack-mode:hover { color:#fff; }
|
||||||
.is_active_true, .is_active_false { cursor: pointer; }
|
.is_active_true, .is_active_false { cursor: pointer; }
|
||||||
#readme-target {
|
#readme-target {
|
||||||
float:left;
|
float:left;
|
||||||
|
|||||||
@@ -3,6 +3,9 @@ var git_log = '/var/log/git.log';
|
|||||||
var bunny_root = '/root/udisk';
|
var bunny_root = '/root/udisk';
|
||||||
var quick_commands = [
|
var quick_commands = [
|
||||||
{
|
{
|
||||||
|
name:"Update apt-get",
|
||||||
|
command:'apt-get-update && apt-get upgrade && apt-get autoremove'
|
||||||
|
},{
|
||||||
name:"Clone git repository",
|
name:"Clone git repository",
|
||||||
command:'if [ ! -d '+bunny_root+'/.git ]; then '
|
command:'if [ ! -d '+bunny_root+'/.git ]; then '
|
||||||
+'cd '+bunny_root+'; '
|
+'cd '+bunny_root+'; '
|
||||||
@@ -53,5 +56,11 @@ var quick_commands = [
|
|||||||
+'else '
|
+'else '
|
||||||
+'echo "Cannot run tools installer: Missing git repository"; '
|
+'echo "Cannot run tools installer: Missing git repository"; '
|
||||||
+'fi '
|
+'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'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
Reference in New Issue
Block a user