From 001bfd5f2b6890cafd209de4ea360927d4dd8a55 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 23 Feb 2013 15:55:49 +0100 Subject: minikrebs is now a submodule --- minikrebs | 1 + minikrebs/.gitignore | 1 - minikrebs/build/heckenkrebs-factory.bin | Bin 3932160 -> 0 bytes minikrebs/build/heckenkrebs-sysupgrade.bin | Bin 3538948 -> 0 bytes minikrebs/doc/Camkrebs | 19 - minikrebs/doc/QUICKSTART | 37 -- minikrebs/doc/TLDR | 3 - minikrebs/doc/lazorcam_druck.svg | 231 --------- minikrebs/oncology/Makefile | 23 - minikrebs/oncology/README | 1 - minikrebs/oncology/config/full.conf | 572 --------------------- minikrebs/prepare | 45 -- minikrebs/profiles/README.md | 9 - minikrebs/profiles/heckenkrebs/custom_make | 2 - .../heckenkrebs/customfiles/etc/config/network | 17 - .../heckenkrebs/customfiles/etc/config/wireless | 18 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../profiles/heckenkrebs/customfiles/etc/rc.local | 7 - .../profiles/heckenkrebs/customfiles/etc/wifiblack | 0 .../profiles/heckenkrebs/customfiles/etc/wifipw | 1 - .../profiles/heckenkrebs/customfiles/usr/bin/aap | 115 ----- .../heckenkrebs/customfiles/usr/bin/easybox_keygen | 40 -- .../heckenkrebs/customfiles/usr/bin/infest | 4 - .../heckenkrebs/customfiles/usr/bin/ledoff | 2 - .../heckenkrebs/customfiles/usr/bin/tinc-update | 4 - minikrebs/profiles/heckenkrebs/doc/README.md | 19 - minikrebs/profiles/init | 47 -- minikrebs/profiles/init_overlay | 22 - minikrebs/profiles/instacam/custom_make | 3 - .../instacam/customfiles/etc/config/mjpg-streamer | 7 - .../instacam/customfiles/etc/config/network | 9 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../profiles/instacam/customfiles/etc/rc.local | 1 - minikrebs/profiles/instacam/customfiles/etc/shadow | 5 - minikrebs/profiles/instacam/doc/README.md | 52 -- minikrebs/profiles/instacam_yuv/custom_make | 3 - .../customfiles/etc/config/mjpg-streamer | 7 - .../instacam_yuv/customfiles/etc/config/network | 9 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../customfiles/etc/init.d/mjpeg-streamer | 58 --- .../profiles/instacam_yuv/customfiles/etc/rc.local | 1 - .../profiles/instacam_yuv/customfiles/etc/shadow | 5 - minikrebs/profiles/instacam_yuv/doc/README.md | 5 - minikrebs/profiles/instakrebs/custom_make | 2 - .../instakrebs/customfiles/etc/config/network | 14 - .../instakrebs/customfiles/etc/config/system | 11 - .../instakrebs/customfiles/etc/config/tinc | 2 - .../instakrebs/customfiles/etc/config/wireless | 19 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../profiles/instakrebs/customfiles/etc/rc.local | 3 - .../profiles/instakrebs/customfiles/etc/shadow | 5 - .../instakrebs/customfiles/usr/bin/autoinfest | 4 - .../instakrebs/customfiles/usr/bin/genhostid | 2 - .../profiles/instakrebs/customfiles/usr/bin/led | 3 - .../instakrebs/customfiles/usr/bin/tinc-update | 4 - minikrebs/profiles/instakrebs/doc/README.md | 3 - minikrebs/profiles/instakrebs_zc3xx/custom_make | 3 - .../customfiles/etc/config/mjpg-streamer | 7 - .../customfiles/etc/config/network | 14 - .../instakrebs_zc3xx/customfiles/etc/config/system | 11 - .../customfiles/etc/config/wireless | 19 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../instakrebs_zc3xx/customfiles/etc/rc.local | 4 - .../instakrebs_zc3xx/customfiles/etc/shadow | 5 - .../customfiles/usr/bin/autoinfest | 4 - .../instakrebs_zc3xx/customfiles/usr/bin/genhostid | 2 - .../instakrebs_zc3xx/customfiles/usr/bin/led | 3 - .../customfiles/usr/bin/tinc-update | 4 - minikrebs/profiles/instakrebs_zc3xx/doc/README.md | 6 - minikrebs/profiles/krebs/custom_make | 2 - .../profiles/krebs/customfiles/etc/config/network | 14 - .../profiles/krebs/customfiles/etc/config/system | 11 - .../profiles/krebs/customfiles/etc/config/wireless | 19 - .../krebs/customfiles/etc/dropbear/authorized_keys | 1 - minikrebs/profiles/krebs/customfiles/etc/rc.local | 4 - minikrebs/profiles/krebs/customfiles/etc/shadow | 5 - .../profiles/krebs/customfiles/usr/bin/autoinfest | 4 - .../profiles/krebs/customfiles/usr/bin/genhostid | 2 - minikrebs/profiles/krebs/customfiles/usr/bin/led | 3 - .../profiles/krebs/customfiles/usr/bin/tinc-update | 4 - minikrebs/profiles/krebs/doc/README.md | 8 - minikrebs/profiles/lazorkrebs/custom_make | 3 - .../customfiles/etc/config/mjpg-streamer | 7 - .../lazorkrebs/customfiles/etc/config/network | 9 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../profiles/lazorkrebs/customfiles/etc/rc.local | 1 - .../profiles/lazorkrebs/customfiles/etc/shadow | 5 - minikrebs/profiles/nfc-login/custom_make | 2 - .../nfc-login/customfiles/etc/config/network | 14 - .../nfc-login/customfiles/etc/config/system | 23 - .../nfc-login/customfiles/etc/config/wireless | 19 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../profiles/nfc-login/customfiles/etc/rc.local | 5 - .../profiles/nfc-login/customfiles/etc/shadow | 5 - .../nfc-login/customfiles/usr/bin/autoinfest | 4 - .../nfc-login/customfiles/usr/bin/genhostid | 2 - .../profiles/nfc-login/customfiles/usr/bin/led | 3 - .../nfc-login/customfiles/usr/bin/login-manager | 34 -- .../profiles/nfc-login/customfiles/usr/bin/mrled | 4 - .../nfc-login/customfiles/usr/bin/tinc-update | 4 - minikrebs/profiles/nfc-login/doc/README.md | 10 - minikrebs/profiles/rickroller_advanced/airbase-ng | Bin 89141 -> 0 bytes minikrebs/profiles/rickroller_advanced/custom_make | 4 - .../customfiles/etc/config/dhcp | 28 - .../customfiles/etc/config/firewall | 112 ---- .../customfiles/etc/config/fstab | 19 - .../customfiles/etc/config/network | 15 - .../customfiles/etc/config/system | 8 - .../customfiles/etc/config/uhttpd | 13 - .../customfiles/etc/config/wireless | 19 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../rickroller_advanced/customfiles/etc/shadow | 5 - .../rickroller_advanced/customfiles/etc/uhttpd.crt | Bin 529 -> 0 bytes .../rickroller_advanced/customfiles/etc/uhttpd.key | Bin 609 -> 0 bytes minikrebs/profiles/rickroller_advanced/doc/OVERLAY | 6 - .../profiles/rickroller_advanced/doc/README.md | 10 - .../rickroller_advanced/overlay/www/1x1.gif | Bin 35 -> 0 bytes .../overlay/www/cgi-bin/rrhelper | 15 - .../rickroller_advanced/overlay/www/index.html | 27 - .../rickroller_advanced/overlay/www/rick.gif | Bin 506229 -> 0 bytes .../rickroller_advanced/overlay/www/rick.ogg | Bin 390604 -> 0 bytes minikrebs/profiles/rickroller_bare/custom_make | 5 - .../rickroller_bare/customfiles/etc/config/dhcp | 28 - .../customfiles/etc/config/firewall | 112 ---- .../rickroller_bare/customfiles/etc/config/network | 15 - .../rickroller_bare/customfiles/etc/config/system | 8 - .../rickroller_bare/customfiles/etc/config/uhttpd | 13 - .../customfiles/etc/config/wireless | 19 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../rickroller_bare/customfiles/etc/shadow | 5 - .../rickroller_bare/customfiles/etc/uhttpd.crt | Bin 529 -> 0 bytes .../rickroller_bare/customfiles/etc/uhttpd.key | Bin 609 -> 0 bytes .../rickroller_bare/customfiles/www/1x1.gif | Bin 35 -> 0 bytes .../customfiles/www/cgi-bin/rrhelper | 15 - .../rickroller_bare/customfiles/www/index.html | 27 - .../rickroller_bare/customfiles/www/rick.gif | Bin 506229 -> 0 bytes .../rickroller_bare/customfiles/www/rick.ogg | Bin 390604 -> 0 bytes minikrebs/profiles/rickroller_bare/doc/README.md | 24 - .../profiles/rickroller_bare/doc/videoconvert | 7 - minikrebs/profiles/streamerkrebs/custom_make | 3 - .../customfiles/etc/config/mjpg-streamer | 7 - .../streamerkrebs/customfiles/etc/config/network | 9 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../streamerkrebs/customfiles/etc/rc.local | 1 - .../profiles/streamerkrebs/customfiles/etc/shadow | 5 - .../customfiles/root/load_dependencies | 12 - minikrebs/profiles/streamerkrebs/doc/README.md | 3 - minikrebs/profiles/usb_ext/custom_make | 3 - .../profiles/usb_ext/customfiles/etc/config/fstab | 19 - .../usb_ext/customfiles/etc/config/network | 13 - .../profiles/usb_ext/customfiles/etc/config/system | 8 - .../customfiles/etc/dropbear/authorized_keys | 1 - minikrebs/profiles/usb_ext/customfiles/etc/shadow | 5 - minikrebs/profiles/usbbridge/custom_make | 3 - .../usbbridge/customfiles/etc/config/network | 9 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../profiles/usbbridge/customfiles/etc/rc.local | 3 - .../profiles/usbbridge/customfiles/etc/shadow | 5 - minikrebs/profiles/usbbridge/doc/README | 21 - minikrebs/profiles/wifibridge/.gitignore | 1 - minikrebs/profiles/wifibridge/custom_make | 2 - .../wifibridge/customfiles/etc/config/firewall | 104 ---- .../wifibridge/customfiles/etc/config/fstab | 19 - .../wifibridge/customfiles/etc/config/network | 17 - .../wifibridge/customfiles/etc/config/wireless | 21 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../profiles/wifibridge/customfiles/etc/rc.local | 4 - .../profiles/wifibridge/customfiles/etc/shadow | 5 - .../customfiles/root/.ssh/authorized_keys | 1 - .../wifibridge/customfiles/usr/bin/autoinfest | 4 - .../wifibridge/customfiles/usr/bin/genhostid | 2 - .../profiles/wifibridge/customfiles/usr/bin/led | 3 - .../wifibridge/customfiles/usr/bin/tinc-update | 4 - minikrebs/upgrade | 31 -- 174 files changed, 1 insertion(+), 2708 deletions(-) create mode 160000 minikrebs delete mode 100644 minikrebs/.gitignore delete mode 100644 minikrebs/build/heckenkrebs-factory.bin delete mode 100644 minikrebs/build/heckenkrebs-sysupgrade.bin delete mode 100644 minikrebs/doc/Camkrebs delete mode 100644 minikrebs/doc/QUICKSTART delete mode 100644 minikrebs/doc/TLDR delete mode 100644 minikrebs/doc/lazorcam_druck.svg delete mode 100644 minikrebs/oncology/Makefile delete mode 100644 minikrebs/oncology/README delete mode 100644 minikrebs/oncology/config/full.conf delete mode 100755 minikrebs/prepare delete mode 100644 minikrebs/profiles/README.md delete mode 100755 minikrebs/profiles/heckenkrebs/custom_make delete mode 100644 minikrebs/profiles/heckenkrebs/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/heckenkrebs/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/heckenkrebs/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/heckenkrebs/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/heckenkrebs/customfiles/etc/wifiblack delete mode 100644 minikrebs/profiles/heckenkrebs/customfiles/etc/wifipw delete mode 100755 minikrebs/profiles/heckenkrebs/customfiles/usr/bin/aap delete mode 100755 minikrebs/profiles/heckenkrebs/customfiles/usr/bin/easybox_keygen delete mode 100755 minikrebs/profiles/heckenkrebs/customfiles/usr/bin/infest delete mode 100755 minikrebs/profiles/heckenkrebs/customfiles/usr/bin/ledoff delete mode 100755 minikrebs/profiles/heckenkrebs/customfiles/usr/bin/tinc-update delete mode 100644 minikrebs/profiles/heckenkrebs/doc/README.md delete mode 100755 minikrebs/profiles/init delete mode 100755 minikrebs/profiles/init_overlay delete mode 100755 minikrebs/profiles/instacam/custom_make delete mode 100644 minikrebs/profiles/instacam/customfiles/etc/config/mjpg-streamer delete mode 100644 minikrebs/profiles/instacam/customfiles/etc/config/network delete mode 120000 minikrebs/profiles/instacam/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/instacam/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/instacam/customfiles/etc/shadow delete mode 100644 minikrebs/profiles/instacam/doc/README.md delete mode 100755 minikrebs/profiles/instacam_yuv/custom_make delete mode 100644 minikrebs/profiles/instacam_yuv/customfiles/etc/config/mjpg-streamer delete mode 100644 minikrebs/profiles/instacam_yuv/customfiles/etc/config/network delete mode 120000 minikrebs/profiles/instacam_yuv/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/instacam_yuv/customfiles/etc/init.d/mjpeg-streamer delete mode 100644 minikrebs/profiles/instacam_yuv/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/instacam_yuv/customfiles/etc/shadow delete mode 100644 minikrebs/profiles/instacam_yuv/doc/README.md delete mode 100755 minikrebs/profiles/instakrebs/custom_make delete mode 100644 minikrebs/profiles/instakrebs/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/instakrebs/customfiles/etc/config/system delete mode 100644 minikrebs/profiles/instakrebs/customfiles/etc/config/tinc delete mode 100644 minikrebs/profiles/instakrebs/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/instakrebs/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/instakrebs/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/instakrebs/customfiles/etc/shadow delete mode 100755 minikrebs/profiles/instakrebs/customfiles/usr/bin/autoinfest delete mode 100755 minikrebs/profiles/instakrebs/customfiles/usr/bin/genhostid delete mode 100755 minikrebs/profiles/instakrebs/customfiles/usr/bin/led delete mode 100755 minikrebs/profiles/instakrebs/customfiles/usr/bin/tinc-update delete mode 100644 minikrebs/profiles/instakrebs/doc/README.md delete mode 100755 minikrebs/profiles/instakrebs_zc3xx/custom_make delete mode 100644 minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/mjpg-streamer delete mode 100644 minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/system delete mode 100644 minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/shadow delete mode 100755 minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/autoinfest delete mode 100755 minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/genhostid delete mode 100755 minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/led delete mode 100755 minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/tinc-update delete mode 100644 minikrebs/profiles/instakrebs_zc3xx/doc/README.md delete mode 100755 minikrebs/profiles/krebs/custom_make delete mode 100644 minikrebs/profiles/krebs/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/krebs/customfiles/etc/config/system delete mode 100644 minikrebs/profiles/krebs/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/krebs/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/krebs/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/krebs/customfiles/etc/shadow delete mode 100755 minikrebs/profiles/krebs/customfiles/usr/bin/autoinfest delete mode 100755 minikrebs/profiles/krebs/customfiles/usr/bin/genhostid delete mode 100755 minikrebs/profiles/krebs/customfiles/usr/bin/led delete mode 100755 minikrebs/profiles/krebs/customfiles/usr/bin/tinc-update delete mode 100644 minikrebs/profiles/krebs/doc/README.md delete mode 100755 minikrebs/profiles/lazorkrebs/custom_make delete mode 100644 minikrebs/profiles/lazorkrebs/customfiles/etc/config/mjpg-streamer delete mode 100644 minikrebs/profiles/lazorkrebs/customfiles/etc/config/network delete mode 120000 minikrebs/profiles/lazorkrebs/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/lazorkrebs/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/lazorkrebs/customfiles/etc/shadow delete mode 100755 minikrebs/profiles/nfc-login/custom_make delete mode 100644 minikrebs/profiles/nfc-login/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/nfc-login/customfiles/etc/config/system delete mode 100644 minikrebs/profiles/nfc-login/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/nfc-login/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/nfc-login/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/nfc-login/customfiles/etc/shadow delete mode 100755 minikrebs/profiles/nfc-login/customfiles/usr/bin/autoinfest delete mode 100755 minikrebs/profiles/nfc-login/customfiles/usr/bin/genhostid delete mode 100755 minikrebs/profiles/nfc-login/customfiles/usr/bin/led delete mode 100755 minikrebs/profiles/nfc-login/customfiles/usr/bin/login-manager delete mode 100755 minikrebs/profiles/nfc-login/customfiles/usr/bin/mrled delete mode 100755 minikrebs/profiles/nfc-login/customfiles/usr/bin/tinc-update delete mode 100644 minikrebs/profiles/nfc-login/doc/README.md delete mode 100755 minikrebs/profiles/rickroller_advanced/airbase-ng delete mode 100755 minikrebs/profiles/rickroller_advanced/custom_make delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/config/dhcp delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/config/firewall delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/config/fstab delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/config/system delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/config/uhttpd delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/rickroller_advanced/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/shadow delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/uhttpd.crt delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/uhttpd.key delete mode 100644 minikrebs/profiles/rickroller_advanced/doc/OVERLAY delete mode 100644 minikrebs/profiles/rickroller_advanced/doc/README.md delete mode 100644 minikrebs/profiles/rickroller_advanced/overlay/www/1x1.gif delete mode 100755 minikrebs/profiles/rickroller_advanced/overlay/www/cgi-bin/rrhelper delete mode 100644 minikrebs/profiles/rickroller_advanced/overlay/www/index.html delete mode 100644 minikrebs/profiles/rickroller_advanced/overlay/www/rick.gif delete mode 100644 minikrebs/profiles/rickroller_advanced/overlay/www/rick.ogg delete mode 100755 minikrebs/profiles/rickroller_bare/custom_make delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/config/dhcp delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/config/firewall delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/config/system delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/config/uhttpd delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/rickroller_bare/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/shadow delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/uhttpd.crt delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/uhttpd.key delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/www/1x1.gif delete mode 100755 minikrebs/profiles/rickroller_bare/customfiles/www/cgi-bin/rrhelper delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/www/index.html delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/www/rick.gif delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/www/rick.ogg delete mode 100644 minikrebs/profiles/rickroller_bare/doc/README.md delete mode 100644 minikrebs/profiles/rickroller_bare/doc/videoconvert delete mode 100755 minikrebs/profiles/streamerkrebs/custom_make delete mode 100644 minikrebs/profiles/streamerkrebs/customfiles/etc/config/mjpg-streamer delete mode 100644 minikrebs/profiles/streamerkrebs/customfiles/etc/config/network delete mode 120000 minikrebs/profiles/streamerkrebs/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/streamerkrebs/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/streamerkrebs/customfiles/etc/shadow delete mode 100644 minikrebs/profiles/streamerkrebs/customfiles/root/load_dependencies delete mode 100644 minikrebs/profiles/streamerkrebs/doc/README.md delete mode 100755 minikrebs/profiles/usb_ext/custom_make delete mode 100644 minikrebs/profiles/usb_ext/customfiles/etc/config/fstab delete mode 100644 minikrebs/profiles/usb_ext/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/usb_ext/customfiles/etc/config/system delete mode 120000 minikrebs/profiles/usb_ext/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/usb_ext/customfiles/etc/shadow delete mode 100755 minikrebs/profiles/usbbridge/custom_make delete mode 100644 minikrebs/profiles/usbbridge/customfiles/etc/config/network delete mode 120000 minikrebs/profiles/usbbridge/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/usbbridge/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/usbbridge/customfiles/etc/shadow delete mode 100644 minikrebs/profiles/usbbridge/doc/README delete mode 100644 minikrebs/profiles/wifibridge/.gitignore delete mode 100755 minikrebs/profiles/wifibridge/custom_make delete mode 100644 minikrebs/profiles/wifibridge/customfiles/etc/config/firewall delete mode 100644 minikrebs/profiles/wifibridge/customfiles/etc/config/fstab delete mode 100644 minikrebs/profiles/wifibridge/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/wifibridge/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/wifibridge/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/wifibridge/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/wifibridge/customfiles/etc/shadow delete mode 100644 minikrebs/profiles/wifibridge/customfiles/root/.ssh/authorized_keys delete mode 100755 minikrebs/profiles/wifibridge/customfiles/usr/bin/autoinfest delete mode 100755 minikrebs/profiles/wifibridge/customfiles/usr/bin/genhostid delete mode 100755 minikrebs/profiles/wifibridge/customfiles/usr/bin/led delete mode 100755 minikrebs/profiles/wifibridge/customfiles/usr/bin/tinc-update delete mode 100755 minikrebs/upgrade (limited to 'minikrebs') diff --git a/minikrebs b/minikrebs new file mode 160000 index 00000000..8fd46a7e --- /dev/null +++ b/minikrebs @@ -0,0 +1 @@ +Subproject commit 8fd46a7e3258bff753c42dc43fecfbbc853a685c diff --git a/minikrebs/.gitignore b/minikrebs/.gitignore deleted file mode 100644 index 8d0fa061..00000000 --- a/minikrebs/.gitignore +++ /dev/null @@ -1 +0,0 @@ -builder/ diff --git a/minikrebs/build/heckenkrebs-factory.bin b/minikrebs/build/heckenkrebs-factory.bin deleted file mode 100644 index dec89f16..00000000 Binary files a/minikrebs/build/heckenkrebs-factory.bin and /dev/null differ diff --git a/minikrebs/build/heckenkrebs-sysupgrade.bin b/minikrebs/build/heckenkrebs-sysupgrade.bin deleted file mode 100644 index 70bb0f25..00000000 Binary files a/minikrebs/build/heckenkrebs-sysupgrade.bin and /dev/null differ diff --git a/minikrebs/doc/Camkrebs b/minikrebs/doc/Camkrebs deleted file mode 100644 index 060bf60d..00000000 --- a/minikrebs/doc/Camkrebs +++ /dev/null @@ -1,19 +0,0 @@ - -# packages -kmod-video-uvc -mjpg-streamer - -# mjpg-streamer -original package not available in snapshot, grab it from old sources -## opkg.conf - - src/gz attitude_adjustment http://downloads.openwrt.org/attitude_adjustment/12.09-beta2/ar71xx/generic/packages/ - -## running live - - mjpg_streamer -i "input_uvc.so -d /dev/video0 -r 640x480" -o "output_http.so -p 8080 -w /www/webcam" - -## running in temp - - opkg install -d ram mjpg_streamer - LD_LIBRARY_PATH=/tmp/lib:/tmp/usr/bin /tmp/usr/bin/mjpg_streamer -i "input_uvc.so -d /dev/video0 -r 640x480" -o "output_http.so -p 8080 -w /tmp/www/webcam" diff --git a/minikrebs/doc/QUICKSTART b/minikrebs/doc/QUICKSTART deleted file mode 100644 index ac4ae384..00000000 --- a/minikrebs/doc/QUICKSTART +++ /dev/null @@ -1,37 +0,0 @@ -# Quickstart to get your own own krebs on wr703n - -!important this is pseudo code, so please use your brains - - cd /krebs/minikrebs - ./prepare krebs - builder/init - -# Stock image -connect to krebs - - dhclient eth0 - firefox 192.168.1.1 - {{goto the firmware-upgrade page}} - {{upload ../builder/bin/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin}} - {{wait}} - {{reconnect power}} - -# Upgrade image - - {{ start krebs in recovery mode}} - ifconfig eth0 192.168.1.3 - sysctl net.ipv4.ip_forward=1 - iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE #assuming wlan0 provides internet access - telnet 192.168.1.1 - mount_root - passwd - /etc/init.d/dropbear start - 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 deleted file mode 100644 index 9a33c437..00000000 --- a/minikrebs/doc/TLDR +++ /dev/null @@ -1,3 +0,0 @@ -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/doc/lazorcam_druck.svg b/minikrebs/doc/lazorcam_druck.svg deleted file mode 100644 index 4f376059..00000000 --- a/minikrebs/doc/lazorcam_druck.svg +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - LAZORCAM - Boot: - Lazorcam hat Stom wenn die blaue LED leuchtet- Wenn die LED vom Zustand "Blinkend" in den Zustand "durchgängig Leuchtend" gewechselt ist, ist der Bootvorgang abgeschlossen - Schaue dem Lazor beim Arbeiten zu - - Erreichbarkeit: HTTP: VLC: File -> Open Network Stream -> - http://lazorcam.shack/ - http://lazorcam.shack/?action=stream - - diff --git a/minikrebs/oncology/Makefile b/minikrebs/oncology/Makefile deleted file mode 100644 index 05d5c422..00000000 --- a/minikrebs/oncology/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -build-deps: - #punani -Ei libtool automake autoconf zlib1g-dev libssl-dev python-dev libc6 libusb-dev libibus-dev subversion libgd2-noxpm-dev libgd2-noxpm lcd4linux - -/usr/bin/lcd4linux: build-deps - #punani -Ei lcd4linux - sed -i 's/usr\/sbin\/lcd4linux/usr\/bin\/lcd4linux/g' /etc/init.d/lcd4linux - dpfhack_display/build-dpf-lcd4linux.sh - make -C dpfhack_display/lcd4linux/ install - -lcd4linux_autostart: - # service lcd4linux start - # update-rc.d lcd4linux - -install: /usr/bin/lcd4linux /etc/lcd4linux.conf lcd4linux_autostart - # TODO this is debian only - -update: /etc/lcd4linux.conf - service lcd4linux force-reload - -/etc/lcd4linux.conf: lcd4linux.conf - chown krebs:krebs lcd4linux.conf - chmod 600 lcd4linux.conf - cp -a lcd4linux.conf /etc/lcd4linux.conf diff --git a/minikrebs/oncology/README b/minikrebs/oncology/README deleted file mode 100644 index 60261618..00000000 --- a/minikrebs/oncology/README +++ /dev/null @@ -1 +0,0 @@ -# lcd4linux for DigitalPhotoFrame diff --git a/minikrebs/oncology/config/full.conf b/minikrebs/oncology/config/full.conf deleted file mode 100644 index be16629d..00000000 --- a/minikrebs/oncology/config/full.conf +++ /dev/null @@ -1,572 +0,0 @@ -Layout 'Krebs' -Display 'DPF' - -Variables { - # Ticks: - second 1000 - minute 60 * second - - # Standard Dimensions: - linesize 53 # max line length, for status lines etc. - width100 51 # full width after padding (border) - width050 24 # 1/2 of full width - width033 17 # 1/3 of full width - width025 12 # 1/4 of full width - width010 5 # 1/10 of full width - - # Colors: - # ToDo: Alphakanal ausnutzen - black '000000' - white 'ffffff' - red 'ff0000' - darkblue '000066' - lightgray 'b2b2b2' - darkgray '191919' - barcolor0 '5f5fff' - barcolor1 'ff5f5c' - - # To be set later by timers: - FileMsg 'Dummy' -} - -Display dpf { - Driver 'DPF' - Port 'usb0' - Font '6x8' - Foreground white - Background darkblue - Basecolor darkblue -} - -Widget System { - class 'Text' - expression '*** ' . uname('nodename') . ' '. netinfo::ipaddr('eth0') . ' ***' - width linesize - align 'C' - update 0 - Background lightgray - Foreground darkgray -} - -Widget Time { - class 'Text' - expression strftime('%a, %d.%m.%Y %H:%M:%S', time()) . ' Up: ' . uptime('%d days %H:%M:%S') - width linesize - align 'C' - update 1 * second - Background lightgray - Foreground darkgray -} - -Widget Busy { - class 'Text' - expression proc_stat::cpu('busy', 0.5 * second) - prefix 'Busy' - postfix '%' - width width050 - precision 1 - align 'R' - update 0.5 * second -} - -Widget BusyBar { - class 'Bar' - expression proc_stat::cpu('busy', 0.5 * second) - expression2 proc_stat::cpu('system', 0.5 * second) - length width050 - direction 'E' - update 0.5 * second - Background darkgray - BarColor0 barcolor0 - BarColor1 barcolor1 -} - -Widget Load { - class 'Text' - expression loadavg(1) - prefix 'Load' - postfix loadavg(1) > 1.0 ? '!' : ' ' - width width050 - precision 1 - align 'R' - update 0.5 * second -# Foreground loadavg(1) > 1.0 ? red : white -} - -Widget LoadBar { - class 'Bar' - expression loadavg(1) - max 4.0 - length width050 - direction 'E' - update 0.5 * second - Background darkgray - BarColor0 barcolor0 - BarColor1 barcolor1 -} - -Widget Disk { - class 'Text' - # disk.[rw]blk return blocks, we assume a blocksize of 512 - # to get the number in kB/s we would do blk*512/1024, which is blk/2 - # expression (proc_stat::disk('.*', 'rblk', 0.5 * second)+proc_stat::disk('.*', 'wblk', 0.5 * second))/2 - # with kernel 2.6, disk_io disappeared from /proc/stat but moved to /proc/diskstat - # therefore you have to use another function called 'diskstats': - expression (diskstats('sd[a-z]$', 'read_sectors', 0.5 * second) + diskstats('sd[a-z]$', 'write_sectors', 0.5 * second)) / 2 / 1024 - prefix 'Disk' - postfix ' MB/s' - width width050 - precision 1 - align 'R' - update 0.5 * second -} - -Widget DiskBar { - class 'Bar' - #expression proc_stat::disk('.*', 'rblk', 0.5 * second) - #expression2 proc_stat::disk('.*', 'wblk', 0.5 * second) - # for kernel 2.6: - expression diskstats('sd[a-z]$', 'read_sectors', 0.5 * second) / 2 / 1024 - expression2 diskstats('sd[a-z]$', 'write_sectors', 0.5 * second) / 2 / 1024 - length width050 - direction 'E' - update 0.5 * second - Background darkgray - BarColor0 barcolor0 - BarColor1 barcolor1 -} - -Widget Eth0 { - class 'Text' - expression (netdev('eth0', 'Rx_bytes', 0.5 * second) + netdev('eth0', 'Tx_bytes', 0.5 * second)) / 1024 - prefix 'eth0' - postfix ' KB/s' - width width050 - precision 1 - align 'R' - update 0.5 * second -} - -Widget Eth0Bar { - class 'Bar' - expression netdev('eth0', 'Rx_bytes', 0.5 * second) / 1024 - expression2 netdev('eth0', 'Tx_bytes', 0.5 * second) / 1024 - length width050 - direction 'E' - update 0.5 * second - Background darkgray - BarColor0 barcolor0 - BarColor1 barcolor1 -} - -Widget Eth0Traffic { - class 'Text' - expression (netdev('eth0', 'Rx_bytes', 0)+netdev('eth0', 'Tx_bytes', 0))/1024/1024/1024 - prefix 'Traffic:' - postfix ' GB' - width 21 - precision 3 - align 'R' - update 10 * second -} - -Widget MemoryTitle { - class 'Text' - expression 'Memory/Swap' - width width050 - align 'L' - update 0 -} - -Widget MemoryTotal { - class 'Text' - expression meminfo('MemTotal') / 1024 - prefix 'Memory Total ' - postfix ' MB' - width width050 - precision 0 - align 'R' - update 0 -} - -Widget MemoryFree { - class 'Text' - expression (meminfo('MemFree') + meminfo('Cached')) / 1024 - prefix 'Memory Free ' - postfix ' MB' - width width050 - precision 0 - align 'R' - update 1 * second -} - -Widget MemorySwappedTotal { - class 'Text' - expression (meminfo('SwapTotal')) / 1024 - prefix 'Swap Total ' - postfix ' MB' - width width050 - precision 0 - align 'R' - update 1 * second -} - -Widget MemorySwappedFree { - class 'Text' - expression (meminfo('SwapTotal') - meminfo('SwapUsed')) / 1024 - prefix 'Swap Free'' - postfix ' MB' - width width050 - precision 0 - align 'R' - update 1 * second -} - -Widget MemorySwappedUsed { - class 'Text' - expression (meminfo('SwapTotal') - meminfo('SwapFree')) / 1024 - prefix 'Swap Used ' - postfix ' MB' - width width050 - precision 0 - align 'R' - update 1 * second -} - -Widget LoggedInTitle { - class 'Text' - expression 'Hosts in Krebs Darknet' - width width050 - align 'L' - update 0 -} - -Widget LoggedIn { - class 'Text' - expression exec('/krebs/oncology/bin/krebshostup') - width width050 - align 'L' - update 300 * second -} - -Widget FSSpaceTitle { - class 'Text' - expression 'Disk Space available' - width width050 - align 'L' - update 0 -} - -Widget FSSpace1 { - class 'Text' - expression statfs('/', 'bavail') * statfs('/', 'bsize') / 1024 / 1024 / 1024 - prefix '/ (Root FS)' - postfix ' GB' - width width050 - precision 2 - align 'R' - update 10 * second -} - -Widget HDDTempTitle { - class 'Text' - expression 'Disk Temperature°C' - width width050 - align 'L' - update 0 -} - -Widget HDDTemp1 { - class 'Text' - expression hddtemp('/dev/sda') - width width010 - precision 1 - align 'R' - update 10 * second -} - -Widget HDDTemp2 { - class 'Text' - expression hddtemp('/dev/sdb') - width width010 - precision 1 - align 'R' - update 10 * second -} - -Widget HDDTemp3 { - class 'Text' - expression hddtemp('/dev/sdc') - width width010 - precision 1 - align 'R' - update 10 * second -} - -Widget ServicesTitle { - class 'Text' - expression 'Services' - width width100 - align 'C' - Background lightgray - Foreground darkgray -} - -Widget ApacheStatus { - class 'Text' - expression 'Apache ' - width width050 - postfix strstr(exec('/etc/init.d/apache2 status', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget BindDNSStatus { - class 'Text' - expression 'Bind DNS ' - width width050 - postfix strstr(exec('/etc/init.d/bind9 status', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget MuninStatus { - class 'Text' - expression 'Monitoring ' - width width050 - postfix strstr(exec('/etc/init.d/munin-node status', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget MiniDLNAStatus { - class 'Text' - expression 'MiniDLNA ' - width width050 - postfix strstr(exec('/etc/init.d/minidlna status', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget MySQLStatus { - class 'Text' - expression 'MySQL ' - width width050 - postfix strstr(exec('/sbin/status mysql', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget MythTVStatus { - class 'Text' - expression 'MythTV Backend ' - width width050 - postfix strstr(exec('/sbin/status mythtv-backend', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget PostfixStatus { - class 'Text' - expression 'Postfix ' - width width050 - postfix strstr(exec('/etc/init.d/postfix status', 10 * second), 'not running') > 0 ? 'down!' : 'up' - update 10 * second -} - -Widget ProFTPStatus { - class 'Text' - expression 'ProFTP ' - width width050 - postfix strstr(exec('/etc/init.d/proftpd status', 10 * second), 'not running') > 0 ? 'down!' : 'up' - update 10 * second -} - -Widget SambaStatus { - class 'Text' - expression 'Samba ' - width width050 - postfix strstr(exec('/sbin/status smbd', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget SambaStatusDS { - class 'Text' - expression 'Samba ' - width width050 - postfix strstr(exec('/etc/init.d/samba status', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget SSHStatus { - class 'Text' - expression 'SSH ' - width width050 - postfix strstr(exec('/sbin/status ssh', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget SSHStatusDS { - class 'Text' - expression 'SSH ' - width width050 - postfix strstr(exec('/etc/init.d/ssh status', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget SWRAIDStatus { - class 'Text' - expression 'SW RAID ' - width width050 - postfix strstr(exec('cat /proc/mdstat', 10 * second), '[UUU]') > 0 ? 'up' : 'attention!' - update 10 * second -} - -Widget TwonkyStatus { - class 'Text' - expression 'Twonkymedia ' - width width050 - postfix strstr(exec('/sbin/status twonkymedia', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget FileTitle { - class 'Text' - expression 'Syslog' - width width100 - align 'C' - Background lightgray - Foreground darkgray -} - -Widget SetFileMsg { - class 'Timer' - expression FileMsg = exec('tail -n 1 /var/log/syslog', 2 * second) - active 1 - update 2 * second -} - -Widget File1 { - class 'Text' - expression substr(FileMsg, 0 * width100, width100) - width width100 - align 'L' - Background darkgray - update 2 * second -} - -Widget File2 { - class 'Text' - expression substr(FileMsg, 1 * width100, width100) - width width100 - align 'L' - Background darkgray - update 2 * second -} - -Widget File3 { - class 'Text' - expression substr(FileMsg, 2 * width100, width100) - width width100 - align 'L' - Background darkgray - update 2 * second -} - -Widget Weather1 { - class 'Text' - expression exec('/krebs/kachelmann/wetter', 10 * second) - prefix 'Wetter:' - width width100 - align 'L' - Background darkgray - update 10 * second -} -Widget Bitcoin { - class 'Text' - expression exec('/krebs/btc/mtgox/ticker_text.sh', 10 * second) - prefix 'BTC: ' - width width100 - align 'L' - Background darkgray - update 30 * second -} - -Widget Stream { - class 'Text' - expression exec('/krebs/streams/streams status', 10 * second) - #prefix 'Stream:' - width width100 - align 'L' - Background darkgray - update 10 * second -} - -Widget Debug { - class 'Text' - expression 'Serverdisplay - Krebs' - width linesize - align 'C' - Foreground lightgray -} - -Widget na { - class 'Text' - expression 'n/a' - width 3 - align 'L' -} - -Widget Bgnd { - class 'Image' - file '/krebs/cholerab/bling/krebs-v2_320x240.png' - reload 0 - update 0 - inverted 0 - visible 1 -} - -Layout Krebs { - Row01.Col01 'System' - Row02.Col01 'Time' - Row04.Col02 'Busy' - Row05.Col02 'BusyBar' - Row07.Col02 'Load' - Row08.Col02 'LoadBar' - Row10.Col02 'Disk' - Row11.Col02 'DiskBar' - Row13.Col02 'Eth0' - Row14.Col02 'Eth0Bar' - Row15.Col02 'Eth0Traffic' - - Row04.Col28 'MemoryTitle' - Row05.Col29 'MemoryTotal' - Row06.Col29 'MemoryFree' - Row07.Col29 'MemorySwappedTotal' - Row08.Col29 'MemorySwappedUsed' - Row10.Col28 'LoggedInTitle' - Row11.Col29 'LoggedIn' - Row13.Col28 'FSSpaceTitle' - Row14.Col29 'FSSpace1' - - Row17.Col02 'ServicesTitle' - #Row18.Col02 'BindDNSStatus' - #Row19.Col02 'MuninStatus' - Row18.Col02 'ApacheStatus' - #Row21.Col02 'MiniDLNAStatus' - #Row18.Col29 'PostfixStatus' - #Row19.Col29 'ProFTPStatus' - #Row20.Col29 'SambaStatusDS' - Row18.Col29 'SSHStatusDS' - - Row19.Col02 'Weather1' - Row21.Col02 'Bitcoin' - Row23.Col02 'Stream' - - Row25.Col02 'FileTitle' - Row26.Col02 'File1' - Row27.Col02 'File2' - Row28.Col02 'File3' - - Row30.Col01 'Debug' - - Timer1 'SetFileMsg' - - Layer 2 { - X1.Y1 'Bgnd' - } -} diff --git a/minikrebs/prepare b/minikrebs/prepare deleted file mode 100755 index a22a1aa6..00000000 --- a/minikrebs/prepare +++ /dev/null @@ -1,45 +0,0 @@ -#!/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" - -cd $(dirname $(readlink -f $0)) -if [ x"${1:-}" == x ];then - echo "usage: $0 PROFILE" - echo - echo "Available Profiles:" - ls -1 profiles/ |grep -v '^README' | grep -v '^init$' | while read profile; do - echo " $profile" - done - exit 1 -fi -PROFILE=$1 -if [ ! -e builder/Makefile ]; then - wget -O- $IMAGEBUILDER_URL | tar xj OpenWrt-ImageBuilder-ar71xx_generic-for-linux-i486 - mv -f OpenWrt-ImageBuilder-ar71xx_generic-for-linux-i486 builder - echo "Builder successfully downloaded" -else - echo "Builder already installed, skipping download" -fi -echo -echo "copying generic init:" -cp --remove-destination profiles/init builder/init -echo " profile/init -> builder/init" -[ -e builder/overlay ] && echo "removing old overlay" && rm -rf builder/overlay -echo -echo "copying profile:" -find profiles/$PROFILE -mindepth 1 -maxdepth 1| while read file; do - echo " $file -> builder/$(basename $file)" - rm -rf builder/$(basename $file) - cp -r $file builder/ -done - -echo -echo $PROFILE > builder/current_profile -echo "Finished Preparing Profile $PROFILE" -echo 'run `builder/init`' - -if [ -e builder/overlay ];then - echo - echo "This profile also contains overlay data," - echo 'run `builder/init_overlay` to copy' -fi diff --git a/minikrebs/profiles/README.md b/minikrebs/profiles/README.md deleted file mode 100644 index 743a3b35..00000000 --- a/minikrebs/profiles/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# 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 `minikrebs` diff --git a/minikrebs/profiles/heckenkrebs/custom_make b/minikrebs/profiles/heckenkrebs/custom_make deleted file mode 100755 index 4694530b..00000000 --- a/minikrebs/profiles/heckenkrebs/custom_make +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -make image PROFILE=TLWR703 PACKAGES="tinc curl kmod-ipv6 kmod-fs-ext4 radvd ip wireless-tools block-mount kmod-usb-core kmod-usb2 kmod-usb-storage -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe" FILES=customfiles/ diff --git a/minikrebs/profiles/heckenkrebs/customfiles/etc/config/network b/minikrebs/profiles/heckenkrebs/customfiles/etc/config/network deleted file mode 100644 index 2feb7400..00000000 --- a/minikrebs/profiles/heckenkrebs/customfiles/etc/config/network +++ /dev/null @@ -1,17 +0,0 @@ - -config interface 'loopback' - option ifname 'lo' - option proto 'static' - option ipaddr '127.0.0.1' - option netmask '255.0.0.0' - -config interface 'lan' - option ifname 'eth0' - option type 'bridge' - option proto 'static' - option ipaddr '192.168.1.1' - option netmask '255.255.255.0' - -config interface 'wan' - option ifname 'wlan0' - option proto 'dhcp' diff --git a/minikrebs/profiles/heckenkrebs/customfiles/etc/config/wireless b/minikrebs/profiles/heckenkrebs/customfiles/etc/config/wireless deleted file mode 100644 index d2dc5a37..00000000 --- a/minikrebs/profiles/heckenkrebs/customfiles/etc/config/wireless +++ /dev/null @@ -1,18 +0,0 @@ - -config wifi-device 'radio0' - option type 'mac80211' - option hwmode '11ng' - option path 'platform/ar933x_wmac' - option htmode 'HT20' - list ht_capab 'SHORT-GI-20' - list ht_capab 'SHORT-GI-40' - list ht_capab 'RX-STBC1' - list ht_capab 'DSSS_CCK-40' - -config wifi-iface - option device 'radio0' - option network 'wan' - option encryption 'none' - option mode 'sta' - option ssid 'linksys' - diff --git a/minikrebs/profiles/heckenkrebs/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/heckenkrebs/customfiles/etc/dropbear/authorized_keys deleted file mode 120000 index 9c87fc52..00000000 --- a/minikrebs/profiles/heckenkrebs/customfiles/etc/dropbear/authorized_keys +++ /dev/null @@ -1 +0,0 @@ -/root/.ssh/authorized_keys \ No newline at end of file diff --git a/minikrebs/profiles/heckenkrebs/customfiles/etc/rc.local b/minikrebs/profiles/heckenkrebs/customfiles/etc/rc.local deleted file mode 100644 index 9b8eb564..00000000 --- a/minikrebs/profiles/heckenkrebs/customfiles/etc/rc.local +++ /dev/null @@ -1,7 +0,0 @@ -# Put your custom commands here that should be executed once -# the system init finished. By default this file does nothing. - -tincd -n retiolum 2>/dev/null -aap & - -exit 0 diff --git a/minikrebs/profiles/heckenkrebs/customfiles/etc/wifiblack b/minikrebs/profiles/heckenkrebs/customfiles/etc/wifiblack deleted file mode 100644 index e69de29b..00000000 diff --git a/minikrebs/profiles/heckenkrebs/customfiles/etc/wifipw b/minikrebs/profiles/heckenkrebs/customfiles/etc/wifipw deleted file mode 100644 index d235df78..00000000 --- a/minikrebs/profiles/heckenkrebs/customfiles/etc/wifipw +++ /dev/null @@ -1 +0,0 @@ -shack;weissichnichtbinnochneuhierfragmalralf diff --git a/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/aap b/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/aap deleted file mode 100755 index 75e1cbfe..00000000 --- a/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/aap +++ /dev/null @@ -1,115 +0,0 @@ -#!/usr/bin/awk -f - -BEGIN { - chan=0; - essid=""; - encr=0; - psk2=0; - psk=0; - i=0; - # find interface - start by finding if in sta mode - while( "uci show wireless" | getline) { - if(/mode=sta/) { - split($0,wl,"."); - iface=wl[2]; - } - } - close("uci show wireless") - "uci get wireless." iface ".device" | getline radio - close("uci get wireless." iface ".device") - system("ifconfig wlan0 up") - for(;;){ - while( "iwlist wlan0 scan" | getline ) { - scan[i++]=$0; - } - close("iwlist wlan0 scan") - for (j=0;j 0) { - "easybox_keygen " mac | getline rkey - close("easybox_keygen " mac) - } - else { - print essid " is encrypted and key not in whitelist"; - continue; - } - } - } - system("uci set wireless." radio ".channel=" channel); - system("uci set wireless." iface ".ssid=" essid); - if (crypt == "none") { - system("uci set wireless." iface ".encryption=none"); - system("uci -q delete wireless." iface ".key"); - } - else { - system("uci set wireless." iface ".key=" rkey); - system("uci set wireless." iface ".encryption=" crypt); - } - system("uci show wireless > /tmp/keepalive"); - system("wifi up"); - while(system("sleep 60; wget -q -T 30 -O /dev/null http://google.com/index.html") == 0) { - system("ledoff") - } - } - else { - # now test for the things we want - # channel - if (/Channel:[0-9]/) { - m=match($0,"Channel"); - if (RSTART > 0) { - s=substr($0,m); - n=match(s,/[0-9]+/); - chan=substr(s,n,RLENGTH) - } - continue; - } - # we don't need else as we break on successful find - if (/^ *ESSID/) { - m=match($0,"\".*\""); - if (RSTART > 0) essid=substr($0,m+1,RLENGTH-2); - continue; - } - if (/^ *Encryption key:on/) { - encr = 1; - continue; - } - if (/^ *IE: IEEE 802.11i\/WPA2/) { - psk2=1; - continue; - } - if (/^ *IE: WPA /) { - psk=1; - continue; - } - } - } - } - } diff --git a/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/easybox_keygen b/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/easybox_keygen deleted file mode 100755 index e9a9beca..00000000 --- a/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/easybox_keygen +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# -# easybox_keygen.sh (c) 2012 GPLv3 -# -# www.wotan.cc -# - -MAC=$1 - -# Take the last 2 Bytes of the MAC-Address (0B:EC), and convert it to decimal. - -take5=${MAC:12} -last4=${take5/:/} - -# Fill up to 4 places with zeros, if necessary: -deci=$(printf "%04d" "0x$last4" | sed 's/.*\(....\)/\1/;s/./& /g') -#echo M4: ${deci[@]} -# -# The digits M9 to M12 are just the last digits (9.-12.) of the MAC: -hexi=$(echo ${MAC:12:5} | sed 's/://;s/./& /g') -#echo 'M4 (Hex): ' ${hexi[@]} -# K1 = last byte of (d0 + d1 + h2 + h3) -# K2 = last byte of (h0 + h1 + d2 + d3) -c1=$(printf "%d + %d + %d + %d" ${deci:0:1} ${deci:2:1} 0x${hexi:4:1} 0x${hexi:6:1}) -c2=$(printf "%d + %d + %d + %d" 0x${hexi:0:1} 0x${hexi:2:1} ${deci:4:1} ${deci:6:1}) -K1=$((($c1)%16)) -K2=$((($c2)%16)) -#printf "K1: %x\n" $K1 -#printf "K2: %x\n" $K2 -X1=$((K1^${deci:6:1})) -X2=$((K1^${deci:4:1})) -X3=$((K1^${deci:2:1})) -Y1=$((K2^0x${hexi:2:1})) -Y2=$((K2^0x${hexi:4:1})) -Y3=$((K2^0x${hexi:6:1})) -Z1=$((0x${hexi:4:1}^${deci:6:1})) -Z2=$((0x${hexi:6:1}^${deci:4:1})) -Z3=$((K1^K2)) -printf "%x%x%x%x%x%x%x%x%x\n" $X1 $Y1 $Z1 $X2 $Y2 $Z2 $X3 $Y3 $Z3 | tr a-f A-F - diff --git a/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/infest b/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/infest deleted file mode 100755 index f1bcc594..00000000 --- a/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/infest +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -printf "enter your tincname:" -read HOSTNAME -curl tinc.krebsco.de | HOSTN=$HOSTNAME sh diff --git a/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/ledoff b/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/ledoff deleted file mode 100755 index 0bc6ec7a..00000000 --- a/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/ledoff +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -echo 0 > /sys/class/leds/tp-link\:blue\:system/brightness diff --git a/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/tinc-update b/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/tinc-update deleted file mode 100755 index 2c6ec432..00000000 --- a/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/tinc-update +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -if test -e /etc/tinc/retiolum; then - if ping -c 1 euer.krebsco.de -W 5 &>/dev/null; then (curl http://euer.krebsco.de/retiolum/supernodes.tar.gz | tar xz -C /etc/tinc/retiolum/hosts/);fi -fi diff --git a/minikrebs/profiles/heckenkrebs/doc/README.md b/minikrebs/profiles/heckenkrebs/doc/README.md deleted file mode 100644 index 8972d4b8..00000000 --- a/minikrebs/profiles/heckenkrebs/doc/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# 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 deleted file mode 100755 index 0add700e..00000000 --- a/minikrebs/profiles/init +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/bash - -cd $(dirname $(readlink -f $0)) -if [ ! -e Makefile ] ;then - echo "ImageBuilder not checked out yet" - echo "try running ../prepare $$PROFILE" - exit 1 -fi - -echo -rm -r bin/ || echo "no bindir, skipping removal" -if [ -e ./custom_make ];then - echo "Starting Custom Make" - sh ./custom_make 2>/dev/null | while read line; do - echo -n . - done -else - echo "No Custom Make Script exists, bailing out!" - exit 1 -fi - -echo - -if [ -e bin/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin ]; -then - cat << EOF -finished building -You can use the following images: - Factory : $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin - System Upgrade: $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin -EOF -elif [ -e bin/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin ]; -then - cat << EOF -finished building -You can use the following images: - Factory : $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin - System Upgrade: $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-sysupgrade.bin -EOF -else - cat << EOF -It seems like the factory image has not been created, it is most -likely that the image would be too big and does not fit into the tiny FLASH. - -Try removing modules from \`custom_make\` and retry building. -EOF -fi diff --git a/minikrebs/profiles/init_overlay b/minikrebs/profiles/init_overlay deleted file mode 100755 index e71cd151..00000000 --- a/minikrebs/profiles/init_overlay +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -cd $(dirname $(readlink -f $0)) -[ ! -e overlay/ ]