Install android SDK (bottom of the page) or full android studio if you need to develop on android.
fastboot looks like adb but it is used when device is in bootloader (or fastboot).
| <script> | |
| let submitBtn; | |
| let newTarget; | |
| submitBtn = addEventListener('click', () => { | |
| let newTarget = document.getElementById("newTarget").elements["hostname"] | |
| console.log(`target: ${newTarget.value}`); | |
| addTarget(newTarget.value) | |
| }) |
| /* -------------------------------------------------------------------------- */ | |
| // All Bootstrap 4 Sass Mixins [Cheat sheet] | |
| // Updated to Bootstrap v4.5.x | |
| // @author https://anschaef.de | |
| // @see https://github.com/twbs/bootstrap/tree/master/scss/mixins | |
| /* -------------------------------------------------------------------------- */ | |
| /* | |
| // ########################################################################## */ | |
| // New cheat sheet for Bootstrap 5: |
Install android SDK (bottom of the page) or full android studio if you need to develop on android.
fastboot looks like adb but it is used when device is in bootloader (or fastboot).
The steps below require a smartphone running Android. If you're an iPhone user you'll have to find an appropriate iOS app for step #4. Maybe this?
| #!/bin/bash | |
| # | |
| # This script programs the CHIP's NAND flash using sunxi-tools' `fel` utiltiy, | |
| # and U-Boot itself. The following tools must be present on the system: | |
| # | |
| # - dd (coreutils) | |
| # - lsusb (usbutils) | |
| # - fel (sunxi-tools) | |
| # - mkimage (android-tools) | |
| # |
| echo -e "\n\nLoading simple rc.firewall-iptables version $FWVER..\n" | |
| DEPMOD=/sbin/depmod | |
| MODPROBE=/sbin/modprobe | |
| EXTIF="eth0" | |
| INTIF="eth1" | |
| #INTIF2="eth0" | |
| echo " External Interface: $EXTIF" | |
| echo " Internal Interface: $INTIF" |
| adb -s [device] shell input keyevent 4 |
| import argparse | |
| from multiprocessing import Process | |
| import logging | |
| logging.getLogger("scapy.runtime").setLevel(logging.ERROR) | |
| from scapy.all import * | |
| import signal | |
| import threading | |
| from sys import platform |