Skip to content

Instantly share code, notes, and snippets.

root@kali:~# ifconfig eth0 up
root@kali:~# ifconfig eth0
root@kali:~# iptables -t nat -F
root@kali:~# iptables -F
root@kali:~# iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
root@kali:~# iptables -A FORWARD -i eth0 -o wlan0 -j ACCEPT
root@kali:~# echo '1' > /proc/sys/net/ipv4/ip_forward
#description: Disables all C6 and enables all C7 core states for Baytrail CPUs
#author: Wolfgang Reimer <linuxball (at)>
#date: 2016014
#version: 1.0
#usage: sudo <path>/
#notes: Intended as test script to verify whether erratum VLP52 (see
# [1]) is the root cause for kernel bug 109051 (see [2]). In order
console init done
U-Boot 2012.10 (Feb 24 2016 - 22:33:54) for GK7102 rb sc1045 v2.00 (GOKE)
HAL: 20151223
DRAM: 64 MiB
Flash: 16 MiB
16 MiB
NAND: SPINAND MID = 0xff, DID = 0xffff, Data = 0x1ffffff !spinand_board_init[1581]: No support this SPI nand!
veto files = /._*/.DS_Store/.AppleDouble/.Trashes/.TemporaryItems/.Spotlight-V100/
delete veto files = yes
dvb_stop() {
echo -n "Stop DVB Subsystem"
/usr/bin/docker stop Tvheadend-Stable
/sbin/modprobe -r ddbridge cxd2099
dvb_start() {
echo -n "Start DVB Subsystem"
# set ACPI Wakeup alarm
# safe_margin - minutes to start up system before the earliest timer
# script does not check if recording is in progress
echo 1 > /timer
Host vps
Hostname IP-DES-VPS
User root
IdentityFile /home/user/.ssh/vps
DynamicForward IP-DES-LAN-SERVERS:4000
ServerAliveInterval 30
ServerAliveCountMax 3
tail -n1 -F $logfile | while read line
user=$(echo $line | cut -d " " -f3)
scode=$(echo $line | cut -d " " -f9)
#Repos für PHP 7.2 und nginx hinzufügen
add-apt-repository ppa:ondrej/php
add-apt-repository ppa:ondrej/nginx
apt-get update
#Liste der installierten PHP7.0 Module anzeigen lassen
dpkg --get-selections | grep -v deinstall | grep php7.0
#PHP 7.2 installieren
apt-get install php7.2