diff options
60 files changed, 173 insertions, 37 deletions
diff --git a/minikrebs/doc/QUICKSTART b/minikrebs/doc/QUICKSTART index de2c7362..ac4ae384 100644 --- a/minikrebs/doc/QUICKSTART +++ b/minikrebs/doc/QUICKSTART @@ -29,6 +29,9 @@ connect to krebs exit OWN_IP=192.168.1.3 ./upgrade 192.168.1.1 {{reconnect power}} + {{password is minikrebs}} +# when minikrebs is in dhcp-client mode + echo 'dhcp-range=192.168.0.50,192.168.0.150,12h' > /etc/dnsmasq.conf ifconfig eth0 192.168.0.1 && dnsmasq -d - + diff --git a/minikrebs/doc/TLDR b/minikrebs/doc/TLDR new file mode 100644 index 00000000..9a33c437 --- /dev/null +++ b/minikrebs/doc/TLDR @@ -0,0 +1,3 @@ +This is how you get a cool webcam-streamer image for your WR703N: + ./prepare instacam && builder/init +Use it to flash your minirouter, password is `minikrebs` diff --git a/minikrebs/prepare b/minikrebs/prepare index 6b69db50..a22a1aa6 100755 --- a/minikrebs/prepare +++ b/minikrebs/prepare @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -euf IMAGEBUILDER_URL="http://downloads.openwrt.org/attitude_adjustment/12.09-beta2/ar71xx/generic/OpenWrt-ImageBuilder-ar71xx_generic-for-linux-i486.tar.bz2" diff --git a/minikrebs/profiles/README.md b/minikrebs/profiles/README.md index 9e324d9e..743a3b35 100644 --- a/minikrebs/profiles/README.md +++ b/minikrebs/profiles/README.md @@ -6,4 +6,4 @@ building. You may also want to include your own files into your image, adding file=customfile in your custom\_make. -default password is `aidsballs` +default password is `minikrebs` diff --git a/minikrebs/profiles/camkrebs_zc3xx/doc/README.md b/minikrebs/profiles/camkrebs_zc3xx/doc/README.md deleted file mode 100644 index 1b3d4beb..00000000 --- a/minikrebs/profiles/camkrebs_zc3xx/doc/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# Documentation -Firmware for krebs with Cheapo china webcam with zc3xx chipset attached. - -The profile is derived from krebs diff --git a/minikrebs/profiles/heckenkrebs/doc/README.md b/minikrebs/profiles/heckenkrebs/doc/README.md index 11d6f527..8972d4b8 100644 --- a/minikrebs/profiles/heckenkrebs/doc/README.md +++ b/minikrebs/profiles/heckenkrebs/doc/README.md @@ -1,8 +1,19 @@ -this are the openwrt images for tl-wr703n. -They include automatic wireless connection. If you want the Krebs to connect to your wlan you need to add your wireless credentials to /etc/wifipw. Syntax is $SSID;$PW +# Heckenkrebs +Heckenkrebs is the automatic internet-establish and gateway provider for the +krebs darknet. + +This profile will automatically establish wireless connections to shared wireless networks. If you want the Krebs to connect to your wlan you need to add your wireless credentials to /etc/wifipw. Syntax is $SSID;$PW W-Lans can be blacklisted by adding the ssid to /etc/wifiblack run infest on the system to get into the retiolum darknet (requires internet) hostsfiles for tinc can be updated with tinc-update the LED will turn off after 60 seconds of working internet connection to save power + +# Functionality +The Heckenkrebs will use the aap tool to connect randomly to wireless networks +which are unprotected in some ways. + +aap is patched to calculate default easybox keys in addition to try open +networks. It also provides a blacklist and access-point password list. + diff --git a/minikrebs/profiles/init b/minikrebs/profiles/init index eb5fa2af..df9fcfcd 100755 --- a/minikrebs/profiles/init +++ b/minikrebs/profiles/init @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cd $(dirname $(readlink -f $0)) if [ ! -e Makefile ] ;then diff --git a/minikrebs/profiles/instacam/customfiles/etc/shadow b/minikrebs/profiles/instacam/customfiles/etc/shadow index 251abaf5..9cc800dd 100644 --- a/minikrebs/profiles/instacam/customfiles/etc/shadow +++ b/minikrebs/profiles/instacam/customfiles/etc/shadow @@ -1,4 +1,4 @@ -root:$1$spkPLKf6$KEM1l1DgouvYjeBfkT2wW1:0:0:99999:7::: +root:$1$WFDw.yoc$MuPQ4h/nu3WMpHmte5Yrp/:15719:0:99999:7::: daemon:*:0:0:99999:7::: ftp:*:0:0:99999:7::: network:*:0:0:99999:7::: diff --git a/minikrebs/profiles/krebscam/custom_make b/minikrebs/profiles/instakrebs/custom_make index e5ee946e..e5ee946e 100755 --- a/minikrebs/profiles/krebscam/custom_make +++ b/minikrebs/profiles/instakrebs/custom_make diff --git a/minikrebs/profiles/camkrebs_zc3xx/customfiles/etc/config/network b/minikrebs/profiles/instakrebs/customfiles/etc/config/network index 04722166..04722166 100644 --- a/minikrebs/profiles/camkrebs_zc3xx/customfiles/etc/config/network +++ b/minikrebs/profiles/instakrebs/customfiles/etc/config/network diff --git a/minikrebs/profiles/krebscam/customfiles/etc/config/system b/minikrebs/profiles/instakrebs/customfiles/etc/config/system index 923755f7..923755f7 100644 --- a/minikrebs/profiles/krebscam/customfiles/etc/config/system +++ b/minikrebs/profiles/instakrebs/customfiles/etc/config/system diff --git a/minikrebs/profiles/krebscam/customfiles/etc/config/tinc b/minikrebs/profiles/instakrebs/customfiles/etc/config/tinc index 3a03196c..3a03196c 100644 --- a/minikrebs/profiles/krebscam/customfiles/etc/config/tinc +++ b/minikrebs/profiles/instakrebs/customfiles/etc/config/tinc diff --git a/minikrebs/profiles/camkrebs_zc3xx/customfiles/etc/config/wireless b/minikrebs/profiles/instakrebs/customfiles/etc/config/wireless index e08a42ed..e08a42ed 100644 --- a/minikrebs/profiles/camkrebs_zc3xx/customfiles/etc/config/wireless +++ b/minikrebs/profiles/instakrebs/customfiles/etc/config/wireless diff --git a/minikrebs/profiles/camkrebs_zc3xx/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/instakrebs/customfiles/etc/dropbear/authorized_keys index 9c87fc52..9c87fc52 120000 --- a/minikrebs/profiles/camkrebs_zc3xx/customfiles/etc/dropbear/authorized_keys +++ b/minikrebs/profiles/instakrebs/customfiles/etc/dropbear/authorized_keys diff --git a/minikrebs/profiles/krebscam/customfiles/etc/rc.d/tinc b/minikrebs/profiles/instakrebs/customfiles/etc/rc.d/tinc index f08fe11d..f08fe11d 120000 --- a/minikrebs/profiles/krebscam/customfiles/etc/rc.d/tinc +++ b/minikrebs/profiles/instakrebs/customfiles/etc/rc.d/tinc diff --git a/minikrebs/profiles/krebscam/customfiles/etc/rc.local b/minikrebs/profiles/instakrebs/customfiles/etc/rc.local index 3113cc2a..3113cc2a 100644 --- a/minikrebs/profiles/krebscam/customfiles/etc/rc.local +++ b/minikrebs/profiles/instakrebs/customfiles/etc/rc.local diff --git a/minikrebs/profiles/camkrebs_zc3xx/customfiles/etc/shadow b/minikrebs/profiles/instakrebs/customfiles/etc/shadow index 251abaf5..9cc800dd 100644 --- a/minikrebs/profiles/camkrebs_zc3xx/customfiles/etc/shadow +++ b/minikrebs/profiles/instakrebs/customfiles/etc/shadow @@ -1,4 +1,4 @@ -root:$1$spkPLKf6$KEM1l1DgouvYjeBfkT2wW1:0:0:99999:7::: +root:$1$WFDw.yoc$MuPQ4h/nu3WMpHmte5Yrp/:15719:0:99999:7::: daemon:*:0:0:99999:7::: ftp:*:0:0:99999:7::: network:*:0:0:99999:7::: diff --git a/minikrebs/profiles/camkrebs_zc3xx/customfiles/usr/bin/autoinfest b/minikrebs/profiles/instakrebs/customfiles/usr/bin/autoinfest index a30c1a2b..a30c1a2b 100755 --- a/minikrebs/profiles/camkrebs_zc3xx/customfiles/usr/bin/autoinfest +++ b/minikrebs/profiles/instakrebs/customfiles/usr/bin/autoinfest diff --git a/minikrebs/profiles/camkrebs_zc3xx/customfiles/usr/bin/genhostid b/minikrebs/profiles/instakrebs/customfiles/usr/bin/genhostid index 463e04b7..463e04b7 100755 --- a/minikrebs/profiles/camkrebs_zc3xx/customfiles/usr/bin/genhostid +++ b/minikrebs/profiles/instakrebs/customfiles/usr/bin/genhostid diff --git a/minikrebs/profiles/camkrebs_zc3xx/customfiles/usr/bin/led b/minikrebs/profiles/instakrebs/customfiles/usr/bin/led index e3e998a8..e3e998a8 100755 --- a/minikrebs/profiles/camkrebs_zc3xx/customfiles/usr/bin/led +++ b/minikrebs/profiles/instakrebs/customfiles/usr/bin/led diff --git a/minikrebs/profiles/camkrebs_zc3xx/customfiles/usr/bin/tinc-update b/minikrebs/profiles/instakrebs/customfiles/usr/bin/tinc-update index 4ff46b8f..4ff46b8f 100755 --- a/minikrebs/profiles/camkrebs_zc3xx/customfiles/usr/bin/tinc-update +++ b/minikrebs/profiles/instakrebs/customfiles/usr/bin/tinc-update diff --git a/minikrebs/profiles/instakrebs/doc/README.md b/minikrebs/profiles/instakrebs/doc/README.md new file mode 100644 index 00000000..a9e5306f --- /dev/null +++ b/minikrebs/profiles/instakrebs/doc/README.md @@ -0,0 +1,3 @@ +# Instakrebs + +This image is a merge of instacam and krebs. diff --git a/minikrebs/profiles/camkrebs_zc3xx/custom_make b/minikrebs/profiles/instakrebs_zc3xx/custom_make index 642513be..642513be 100755 --- a/minikrebs/profiles/camkrebs_zc3xx/custom_make +++ b/minikrebs/profiles/instakrebs_zc3xx/custom_make diff --git a/minikrebs/profiles/camkrebs_zc3xx/customfiles/etc/config/mjpg-streamer b/minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/mjpg-streamer index 7417837e..7417837e 100644 --- a/minikrebs/profiles/camkrebs_zc3xx/customfiles/etc/config/mjpg-streamer +++ b/minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/mjpg-streamer diff --git a/minikrebs/profiles/krebscam/customfiles/etc/config/network b/minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/network index 04722166..04722166 100644 --- a/minikrebs/profiles/krebscam/customfiles/etc/config/network +++ b/minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/network diff --git a/minikrebs/profiles/camkrebs_zc3xx/customfiles/etc/config/system b/minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/system index 5371b6bb..5371b6bb 100644 --- a/minikrebs/profiles/camkrebs_zc3xx/customfiles/etc/config/system +++ b/minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/system diff --git a/minikrebs/profiles/krebscam/customfiles/etc/config/wireless b/minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/wireless index e08a42ed..e08a42ed 100644 --- a/minikrebs/profiles/krebscam/customfiles/etc/config/wireless +++ b/minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/wireless diff --git a/minikrebs/profiles/krebscam/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/dropbear/authorized_keys index 9c87fc52..9c87fc52 120000 --- a/minikrebs/profiles/krebscam/customfiles/etc/dropbear/authorized_keys +++ b/minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/dropbear/authorized_keys diff --git a/minikrebs/profiles/camkrebs_zc3xx/customfiles/etc/rc.local b/minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/rc.local index 847a029f..847a029f 100644 --- a/minikrebs/profiles/camkrebs_zc3xx/customfiles/etc/rc.local +++ b/minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/rc.local diff --git a/minikrebs/profiles/krebscam/customfiles/etc/shadow b/minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/shadow index 251abaf5..9cc800dd 100644 --- a/minikrebs/profiles/krebscam/customfiles/etc/shadow +++ b/minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/shadow @@ -1,4 +1,4 @@ -root:$1$spkPLKf6$KEM1l1DgouvYjeBfkT2wW1:0:0:99999:7::: +root:$1$WFDw.yoc$MuPQ4h/nu3WMpHmte5Yrp/:15719:0:99999:7::: daemon:*:0:0:99999:7::: ftp:*:0:0:99999:7::: network:*:0:0:99999:7::: diff --git a/minikrebs/profiles/krebscam/customfiles/usr/bin/autoinfest b/minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/autoinfest index a30c1a2b..a30c1a2b 100755 --- a/minikrebs/profiles/krebscam/customfiles/usr/bin/autoinfest +++ b/minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/autoinfest diff --git a/minikrebs/profiles/krebscam/customfiles/usr/bin/genhostid b/minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/genhostid index 463e04b7..463e04b7 100755 --- a/minikrebs/profiles/krebscam/customfiles/usr/bin/genhostid +++ b/minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/genhostid diff --git a/minikrebs/profiles/krebscam/customfiles/usr/bin/led b/minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/led index e3e998a8..e3e998a8 100755 --- a/minikrebs/profiles/krebscam/customfiles/usr/bin/led +++ b/minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/led diff --git a/minikrebs/profiles/krebscam/customfiles/usr/bin/tinc-update b/minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/tinc-update index 4ff46b8f..4ff46b8f 100755 --- a/minikrebs/profiles/krebscam/customfiles/usr/bin/tinc-update +++ b/minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/tinc-update diff --git a/minikrebs/profiles/instakrebs_zc3xx/doc/README.md b/minikrebs/profiles/instakrebs_zc3xx/doc/README.md new file mode 100644 index 00000000..0c7f52d1 --- /dev/null +++ b/minikrebs/profiles/instakrebs_zc3xx/doc/README.md @@ -0,0 +1,6 @@ + +This profile is a fork of instacam and krebs. + +Firmware for krebs with Cheapo china webcam with zc3xx chipset attached. +Full documentation in profiles/instacam/doc and profiles/krebs/doc. + diff --git a/minikrebs/profiles/krebs/customfiles/etc/shadow b/minikrebs/profiles/krebs/customfiles/etc/shadow index 251abaf5..9cc800dd 100644 --- a/minikrebs/profiles/krebs/customfiles/etc/shadow +++ b/minikrebs/profiles/krebs/customfiles/etc/shadow @@ -1,4 +1,4 @@ -root:$1$spkPLKf6$KEM1l1DgouvYjeBfkT2wW1:0:0:99999:7::: +root:$1$WFDw.yoc$MuPQ4h/nu3WMpHmte5Yrp/:15719:0:99999:7::: daemon:*:0:0:99999:7::: ftp:*:0:0:99999:7::: network:*:0:0:99999:7::: diff --git a/mini |