mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Fixing Makefile and ansible playbook
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com> Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -11,9 +11,86 @@
|
|||||||
{
|
{
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"inline": [
|
"inline": [
|
||||||
"uname -a",
|
"sed -i 's/^\\([^#]\\)/#\\1/g' /etc/ld.so.preload",
|
||||||
"dpkg-architecture",
|
"dpkg-architecture",
|
||||||
"mkdir -p /usr/local/src/pwnagotchi"
|
"apt-get -y --allow-releaseinfo-change update",
|
||||||
|
"apt-get install -y ansible"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"source": "data/usr/bin/pwnlib",
|
||||||
|
"destination": "/usr/bin/pwnlib"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"source": "data/usr/bin/bettercap-launcher",
|
||||||
|
"destination": "/usr/bin/bettercap-launcher"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"source": "data/usr/bin/pwnagotchi-launcher",
|
||||||
|
"destination": "/usr/bin/pwnagotchi-launcher"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"source": "data/usr/bin/monstop",
|
||||||
|
"destination": "/usr/bin/monstop"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"source": "data/usr/bin/monstart",
|
||||||
|
"destination": "/usr/bin/monstart"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"source": "data/usr/bin/hdmion",
|
||||||
|
"destination": "/usr/bin/hdmion"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"source": "data/usr/bin/hdmioff",
|
||||||
|
"destination": "/usr/bin/hdmioff"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"source": "data/etc/network/interfaces.d/lo-cfg",
|
||||||
|
"destination": "/etc/network/interfaces.d/lo-cfg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"source": "data/etc/network/interfaces.d/wlan0-cfg",
|
||||||
|
"destination": "/etc/network/interfaces.d/wlan0-cfg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"source": "data/etc/network/interfaces.d/usb0-cfg",
|
||||||
|
"destination": "/etc/network/interfaces.d/usb0-cfg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"source": "data/etc/network/interfaces.d/eth0-cfg",
|
||||||
|
"destination": "/etc/network/interfaces.d/eth0-cfg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"source": "data/etc/systemd/system/pwngrid-peer.service",
|
||||||
|
"destination": "/etc/systemd/system/pwngrid-peer.service"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"source": "data/etc/systemd/system/pwnagotchi.service",
|
||||||
|
"destination": "/etc/systemd/system/pwnagotchi.service"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"source": "data/etc/systemd/system/bettercap.service",
|
||||||
|
"destination": "/etc/systemd/system/bettercap.service"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "shell",
|
||||||
|
"inline": [
|
||||||
|
"chmod +x /usr/bin/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -23,13 +100,6 @@
|
|||||||
],
|
],
|
||||||
"destination": "/usr/local/src/pwnagotchi/"
|
"destination": "/usr/local/src/pwnagotchi/"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "shell",
|
|
||||||
"inline": [
|
|
||||||
"apt-get -y --allow-releaseinfo-change update",
|
|
||||||
"apt-get install -y --no-install-recommends ansible"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "ansible-local",
|
"type": "ansible-local",
|
||||||
"playbook_file": "pwnagotchi.yml",
|
"playbook_file": "pwnagotchi.yml",
|
||||||
|
Reference in New Issue
Block a user