diff options
Diffstat (limited to 'minikrebs/profiles')
94 files changed, 715 insertions, 41 deletions
diff --git a/minikrebs/profiles/README.md b/minikrebs/profiles/README.md index fc1e8945..9e324d9e 100644 --- a/minikrebs/profiles/README.md +++ b/minikrebs/profiles/README.md @@ -1,4 +1,9 @@ +# Profiles Every profile must have a `custom_make` script which builds the image for the profile. This script also can contain which customizes the image files before building. + +You may also want to include your own files into your image, adding file=customfile in your custom\_make. + +default password is `aidsballs` diff --git a/minikrebs/profiles/camkrebs_uvc/custom_make b/minikrebs/profiles/camkrebs_uvc/custom_make deleted file mode 100755 index 752a7bfe..00000000 --- a/minikrebs/profiles/camkrebs_uvc/custom_make +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -make image PROFILE=TLWR703 PACKAGES="tinc ip kmod-ipv6 radvd kmod-fs-ext4 wireless-tools kmod-usb-core kmod-usb2 -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe -dnsmasq kmod-video-uvc mjpg-streamer" FILES=customfiles/ diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.d/S91mjpg-streamer b/minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.d/S91mjpg-streamer deleted file mode 120000 index 11b1e90d..00000000 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.d/S91mjpg-streamer +++ /dev/null @@ -1 +0,0 @@ -../init.d/mjpg-streamer
\ No newline at end of file diff --git a/minikrebs/profiles/camkrebs_zc3xx/custom_make b/minikrebs/profiles/camkrebs_zc3xx/custom_make index 8f9faf10..642513be 100755 --- a/minikrebs/profiles/camkrebs_zc3xx/custom_make +++ b/minikrebs/profiles/camkrebs_zc3xx/custom_make @@ -1,3 +1,3 @@ #!/bin/sh -make image PROFILE=TLWR703 PACKAGES="tinc ip kmod-ipv6 radvd kmod-fs-ext4 wireless-tools kmod-usb-core kmod-usb2 kmod-video-gspca-zc3xx mjpg-streamer -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe -dnsmasq" FILES=customfiles/ +make image PROFILE=TLWR703 PACKAGES="tinc ip kmod-ipv6 kmod-fs-ext4 wireless-tools block-mount kmod-usb-core kmod-usb2 kmod-video-gspca-zc3xx mjpg-streamer -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe -dnsmasq -radvd" FILES=customfiles/ diff --git a/minikrebs/profiles/camkrebs_zc3xx/doc/README.md b/minikrebs/profiles/camkrebs_zc3xx/doc/README.md index 3f93bfda..1b3d4beb 100644 --- a/minikrebs/profiles/camkrebs_zc3xx/doc/README.md +++ b/minikrebs/profiles/camkrebs_zc3xx/doc/README.md @@ -1,4 +1,4 @@ # Documentation -Firmware for krebs with Logitech QuickCam Messenger attached. +Firmware for krebs with Cheapo china webcam with zc3xx chipset attached. The profile is derived from krebs diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/heckenkrebs/customfiles/etc/dropbear/authorized_keys index 9c87fc52..9c87fc52 120000 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/dropbear/authorized_keys +++ b/minikrebs/profiles/heckenkrebs/customfiles/etc/dropbear/authorized_keys diff --git a/minikrebs/profiles/heckenkrebs/doc/README.md b/minikrebs/profiles/heckenkrebs/doc/README.md new file mode 100644 index 00000000..11d6f527 --- /dev/null +++ b/minikrebs/profiles/heckenkrebs/doc/README.md @@ -0,0 +1,8 @@ +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 +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 diff --git a/minikrebs/profiles/init_overlay b/minikrebs/profiles/init_overlay new file mode 100644 index 00000000..3b714c39 --- /dev/null +++ b/minikrebs/profiles/init_overlay @@ -0,0 +1,10 @@ +#!/bin/sh +[ ! -e overlay/ ] && echo "profile data for external overlay does not exist, bailing out" + +[ ! -e doc/overlay ] && echo "Profile demands the following partitioning of the overlay usb stick:" && cat doc/overlay + +if grep -q $PWD/mnt/overlay /etc/mtab;then + +else + echo "please mount your overlay to $PWD/overlay" +fi diff --git a/minikrebs/profiles/instacam/custom_make b/minikrebs/profiles/instacam/custom_make new file mode 100755 index 00000000..cfe965b2 --- /dev/null +++ b/minikrebs/profiles/instacam/custom_make @@ -0,0 +1,3 @@ +#!/bin/sh + +make image PROFILE=TLWR703 PACKAGES="ip kmod-ipv6 kmod-fs-ext4 wireless-tools block-mount kmod-usb-core kmod-usb2 kmod-video-uvc mjpg-streamer -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe -dnsmasq -radvd " FILES=customfiles/ diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/config/mjpg-streamer b/minikrebs/profiles/instacam/customfiles/etc/config/mjpg-streamer index 298b06fe..298b06fe 100644 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/config/mjpg-streamer +++ b/minikrebs/profiles/instacam/customfiles/etc/config/mjpg-streamer diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/config/network b/minikrebs/profiles/instacam/customfiles/etc/config/network index c459c4e0..c459c4e0 100644 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/config/network +++ b/minikrebs/profiles/instacam/customfiles/etc/config/network diff --git a/minikrebs/profiles/rickroller/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/instacam/customfiles/etc/dropbear/authorized_keys index 9c87fc52..9c87fc52 120000 --- a/minikrebs/profiles/rickroller/customfiles/etc/dropbear/authorized_keys +++ b/minikrebs/profiles/instacam/customfiles/etc/dropbear/authorized_keys diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.local b/minikrebs/profiles/instacam/customfiles/etc/rc.local index 3e91b57c..3e91b57c 100644 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.local +++ b/minikrebs/profiles/instacam/customfiles/etc/rc.local diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/shadow b/minikrebs/profiles/instacam/customfiles/etc/shadow index 251abaf5..251abaf5 100644 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/shadow +++ b/minikrebs/profiles/instacam/customfiles/etc/shadow diff --git a/minikrebs/profiles/instacam/doc/README.md b/minikrebs/profiles/instacam/doc/README.md new file mode 100644 index 00000000..b5da2ddb --- /dev/null +++ b/minikrebs/profiles/instacam/doc/README.md @@ -0,0 +1,52 @@ +# Project Instacam + +# Description + +The aim of the project is to reliably push a video stream directly to the internets for +everyone to see at a very low price. + +# Hardware + +## Core (Wifi / Ethernet) +- TP-Link WR703n[Amazon](https://www.amazon.de/dp/B008UNA6FS/?tag=krebsco-21)[Ebay China](http://www.ebay.de/itm/BLUE-Mini-Nano-TP-LINK-TL-WR703N-150Mbps-WiFi-for-iPhone-4S-Wireless-Router-HOT-/360501556127?pt=COMP_EN_Routers&hash=item53ef91339f ) ~ 16 Euro +- USB Webcam + - [Logitech C270 with Autofocus (AZ)](https://www.amazon.de/dp/B003PAOAWG/?tag=krebsco-21) ~ 25 Euro + - [China NoName Cam (DX)](http://dx.com/p/compact-1-3mp-pc-usb-webcam-with-built-in-microphone-black-51874?Utm_rid=93398939&Utm_source=affiliate) ~ 5++ Euro + - [\* List of UVC Supported Devices](http://www.ideasonboard.org/uvc/ ) + - [\* List of GSPCA Supported Devices](http://linuxtv.org/wiki/index.php/Gspca_devices) +## 4G / 3G / UMTS +Currently Untested: +- usb hub ~ 4 Euro + - [NoName USB 2.0 Hub (DX)](http://dx.com/p/4-port-usb-2-0-hub-7980?Utm_rid=93398939&Utm_source=affiliate) + - [NoName USB 2.0 Hub (Ebay)](http://www.ebay.de/itm/200825754462?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649#ht_2486wt_1366) +- umts stick ~ 20 Euro +- MicroSD card (optional) + +## Mobile Version +either use (easy mode): +- USB Battery Bank + - [Dealextreme](http://dx.com/p/rechargeable-2000mah-mobile-emergency-power-battery-with-6-adapters-66902?Utm_rid=93398939&Utm_source=affiliate) +or (expert mode): +- DC-DC StepDown Module + - [Ebay](http://www.ebay.de/itm/221162832094?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649#ht_3092wt_1132) +- Battery Pack + - take any battery pack you can find (car battery, model making) + +# Software + +## Build Firmware + + git clone github.com/krebscode/painload krebs + cd krebs/minikrebs + ./prepare instacam + builder/init + +## Flash + + # flash image is at: + # builder/bin/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin + + # either flash image directly via web interface or + # after obtaining ssh-access on the router run + + OWN_IP=<<your ip>> ./upgrade <<remote ip>> diff --git a/minikrebs/profiles/krebs/customfiles/etc/rc.local b/minikrebs/profiles/krebs/customfiles/etc/rc.local index 1f907dcb..001b873f 100644 --- a/minikrebs/profiles/krebs/customfiles/etc/rc.local +++ b/ |