diff --git a/builder/data/usr/bin/pwnlib b/builder/data/usr/bin/pwnlib index 99a624f1..12dc6290 100755 --- a/builder/data/usr/bin/pwnlib +++ b/builder/data/usr/bin/pwnlib @@ -1,6 +1,4 @@ #!/usr/bin/env bash -export LD_LIBRARY_PATH=/usr/local/lib -export LD_PRELOAD=/usr/local/lib/libpcap.so.1 # well ... it blinks the led blink_led() { diff --git a/builder/raspberrypi32.yml b/builder/raspberrypi32.yml index fb890b33..df3be230 100644 --- a/builder/raspberrypi32.yml +++ b/builder/raspberrypi32.yml @@ -289,6 +289,13 @@ dest: /usr/local/lib/libpcap.so.0.8 state: link + - name: adjust /boot/config.txt + lineinfile: + dest: /usr/bin/pwnlog + insertbefore: "# well ... it blinks the led" + line: export LD_LIBRARY_PATH=/usr/local/lib + export LD_PRELOAD=/usr/local/lib/libpcap.so.1 + ############################################################### # Install nexmon to fix wireless scanning (takes 2.5G of space) ###############################################################