Exploit databaseDownload repository ZIP
GH-0c93545f7e7aaf3d471c9c1d7d0c3ecd
aandr34/p4wnp1
Sources for CVE-2017-10125
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files12
aandr34/p4wnp1Revision aa8608908090
- ↑..Parent directory
- boot_P4wnP1
- init_autossh.sh
- init_bt.sh
- init_config.sh
- init_hid_keyboard.sh
- init_hid_mouse.sh
- init_led.sh
- init_usb.sh
- init_usb_ethernet.sh
- init_wifi.sh
- init_wifi_nexmon.sh
- led_blink_user.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
boot/led_blink_user.sh
Shell · 866 bytes#!/bin/bash
# This file is part of P4wnP1.
#
# Copyright (c) 2017, Marcus Mengs.
#
# P4wnP1 is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# P4wnP1 is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with P4wnP1. If not, see <http://www.gnu.org/licenses/>.
ledtrigger="/tmp/blink_count"
# led blink function
function led_blink()
{
if [ "$1" ]
then
echo "$1" > $ledtrigger
fi
}