Jump to content

Emeryth

Active Members
  • Posts

    109
  • Joined

  • Last visited

Everything posted by Emeryth

  1. What is the output voltage on the TX pin of the cable? Unfortunately this looks like a cable made for regular RS-232 levels, not 3.3V.
  2. Did you measure the voltage between fonera ground and serial cable ground?
  3. No Arduinos here, just the ATMEGA88 chip. You can find a more detailed writeup and a video on my newly created blog: http://emerythacks.blogspot.com/ Hopefully I'll have more interesting hacks to share in the future.
  4. http://www.dd-wrt.com/wiki/index.php/Versi...ter_Information Check out this page. If it's only a firmware problem, a JTAG cable will fix it, but you're gonna have to do some soldering.
  5. People report that USB power works, although according to these measurements: http://wiki.fon.com/wiki/Energy_consumptio...1_.28FON2100.29 the fonera requires more than 500mA at times, so it could be unstable while on USB power.
  6. A writeup? Anything specific you want me to write about? For now, you can have the schematics: As you can see the only really complicated part is the power supply, the LCD and buttons are just connected directly to the microcontroller.
  7. It just does whatever the fonera can do, if you manage to adapt the software to the display and controls. We've got airodump-ng working - displaying a list of APs (as seen on the picture), simple attacks using mdk3, deauthentication, connecting to an unsecured network and scanning hosts using nmap. Maybe it's not very impressive right now, you can do those things using a laptop which isn't much bigger, but the hardware has much more potential, that's why I'm working on a better version.
  8. Just want to show off my project. Looking at all the fonera battery packs and automated hacking software I wondered why hasn't anybody thought of transforming the fonera into a truly autonomous pentesting device. I've wanted do it it for a very long time and never had the motivation, but recently I had to come up with a team project for school and this seemed perfect. So with a team of 5 people and 6 months of work we came up with this: A hand-held wifi pentesting device, codename "Wifon". It's a fonera with a cheap 64 charcter LCD and 6 buttons, powered with two li-ion cells in a modified box of chocolates :P. I was the leader of the project and I did all the hardware. The LCD and buttons are controlled by an ATMEGA88 microcontroller, which communicates with the fonera via UART. A switching 3.3V voltage regulator powers the fonera, and a linear 5V regulator powers the LCD and microcontroller. Two 900mAh cells allow for 90 minutes of operation. My friend - Kacper, wrote software for communicating with the display, posing as a normal terminal, so that any existing app can run on the screen without modification (although they do require modification to be useful). The rest of the team - Adam, Marek and MichaƂ, adapted software such as aircrack to work nicely with the screen and buttons. The software on the fonera was written mostly in Ruby, because that was the only reasonable scripting language small enough to fit on the device. Here's how it looks in action: As you can imagine (and see by the case :P) , some things were rushed to meet the deadline, but we're satisfied with the outcome. The total cost (not counting the fonera) was about $20 and ZERO hardware modifications of the fonera itself (the second antenna is optional), just plug and play. All in all, this is more of a proof of concept than a usable device, but it works! Here's a sneak peek at Wifon 2.0, this time I'm working alone but with much better hardware, namely a 320x240 color touchscreen :) If anyone is interested I can provide schematics, code, and answer any questions about the project.
  9. If you put OpenWrt on the router, you can install Perl from a package: http://downloads.openwrt.org/kamikaze/8.09...heros/packages/
  10. I've recently bought this: http://www.dealextreme.com/details.dx/sku.33997 Only 150Mbps, but at this price it's awesome. Based on the RTL8188SU chipset - works under windows, linux and osx. Monitor mode is working, but no injection. :( They also sell a version without the antenna, it's super tiny - 3cm long!
  11. I still recommend using the nokia cable, but as a side note, it is possible to safely bring down 5V serial to 3.3V with just one transistor and two resistors like this: http://forums.overclockers.com.au/showthread.php?t=783133 (the picture shows 3.3V to 5V conversion, but the other way around is also explained) I used it recently to connect a microcontroller to the fonera, as I didn't want to risk connecting 5V directly.
  12. Check out my older post if you need drivers for your cable: http://www.hak5.org/forums/index.php?showtopic=15672 Disassemble the phone plug and use this pinout to find which wires inside your cable are TX, RX and ground (ground is usually the cable's shielding) http://pinouts.ru/CellularPhones-Nokia/nok...op_pinout.shtml If you have the la fonera 2100, connect the wires according to this: http://www.dd-wrt.com/wiki/index.php/LaFon...rial-Cable-Port otherwise, you'll have to find what are the correct pins for your model. Info about the rest of the flashing procedure is all over the net so just look it up.
  13. You can use a Nokia CA-42 cable for the serial connection.
  14. Python-mini is a slimmed down version of python, so you should start with that. To install the package just type "opkg install python-mini" or download the .ipk file and type "opkg install <filename>".
  15. Check out the list of packages: http://downloads.openwrt.org/kamikaze/8.09...heros/packages/ Python is available, but it is quite big. To install it you'd have to remove a lot of programs, add an SD card to the fonera or install it on a network file system.
  16. There is a slight probability that you only damaged the voltage regulator, you could still try applying 3.3V directly to the pins inside.
  17. You have to check the voltage levels of the rx and tx pins of the connector, they must be 3,3V. The serial port of a PC works at 12V, which would damage the router when connected directly, if the cable doesn't decrease the voltage it cannot be used.
  18. Unfortunately, no. The cable has to be a USB to serial adapter (like DKU-5 or CA-42), the DKU-2 is just a USB cable with a different connector.
  19. My nokia CA-42 cable uses the Prolific pl-2303, a very popular USB->serial chip, it might be inside yours too. For some reason the latest drivers from the Prolific website ( http://www.prolific.com.tw/Eng/downloads.asp?ID=31 ) don't work with my cable, so here's the old driver I'm currently using: http://www.sendspace.com/file/qsmsch If that doesn't work, you should try to find out what particular chip your cable is using and get drivers for it. And if it works, just connect the cable to the tx and rx pins accordingly, and the ground wire (which will be the cable's shielding probably) to the ground pin of the router (otherwise you'll get garbage). Use putty or hyperterminal to open the connection, and that's it. Good luck!
  20. You can also use IMAP to read your emails with PHP, it's very simple. http://php.net/manual/en/book.imap.php
  21. This was featured on Slashdot today. http://cherrypal.com/GreenOpenFair/2009/12...ment-by-design/ As it turns out, they make it from random parts, the cheapest ones they can get, so you don't know what processor architecture, screen, etc. you'll end up with. But I think it's best to leave it for those who really can't afford anything else.
  22. Time to get this back up! Here's the challenge I mentioned a while ago: A game in 100 lines of code. The Rules: -Any language -Any kind of game -The submission should simply be 100 (or less) lines of text -Even empty lines are counted - to simplify -No additional files (unless your language/environment absolutely requires it) -Using only standard libraries is allowed -The above rules can bent or broken if you have a good reason It's not about how much code can you fit in 100 lines, try making it readable. There is no deadline, and everyone who submits something will be a winner. Because I think you're all n00bs, who can't even write "Hello World" in under 100 lines ;P Here's my 100 line Arkanoid in Java to motivate you: package java101; import java.awt.Color; import java.awt.Graphics; import java.awt.event.MouseEvent; import java.awt.event.MouseMotionListener; import java.util.Random; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.SwingWorker; public class Main { static GamePanel panel; static int ball_x=13000,ball_y=15000,ball_vx=0,ball_vy=200,ball_last_x,ball_last_y,paddle_x =130,paddle_width=64,game_state=0,points=0,lives=3; public static void main(String[] args) { JFrame window = new JFrame(); window.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); panel =new GamePanel(); for (int x=0;x&lt;10;x++ ) for (int y=0;y&lt;10;y++ ){ if(x&gt;0&amp;&amp;x&lt;9&amp;&amp;y&gt;0)panel.field[x][y]=new Random().nextInt();} window.add(panel); window.setSize(320, 260); window.setResizable(false); window.setVisible(true); window.setTitle("Arkanoid 101"); window.addMouseMotionListener(new MouseMotionListener(){ public void mouseDragged(MouseEvent e) { Main.game_state=1;} public void mouseMoved(MouseEvent e) { Main.paddle_x=e.getX()-32; if (Main.paddle_x&lt;0)Main.paddle_x=0; if (Main.paddle_x&gt;320-Main.paddle_width)Main.paddle_x=320-Main.paddle_width; Main.panel.repaint();} }); SwingWorker time = new SwingWorker() { @Override protected Object doInBackground() throws Exception { while (true){ if (game_state==1&amp;&amp;lives&gt;0){ ball_last_x=ball_x; ball_last_y=ball_y; ball_x+=ball_vx; ball_y+=ball_vy; if (ball_last_x/100!=ball_x/100||ball_last_y/100!=ball_y/100)Main.panel.repaint(); if (ball_x/100-2&lt;=0||ball_x/100+2&gt;=310)ball_vx=-ball_vx; else if (ball_y/100-3&lt;=0)ball_vy=-ball_vy; else if (ball_y/100+3&gt;=200) if(ball_x&gt;=paddle_x*100&amp;&amp;ball_x&lt;=(paddle_x+paddle_width)*100){ball_vy=-ball_vy; ball_vx=(ball_x/100-paddle_x-paddle_width/2)*5; ball_vx= (ball_vx&lt;0) ? ball_vx-50 : ball_vx+50; ball_vy= (ball_vx&lt;0) ? ball_vx-50 : -ball_vx-50; } else{ lives--; Main.game_state=0; Main.ball_x=13000; Main.ball_y=15000; Main.ball_vx=0; Main.ball_vy=200;} else if(ball_y&lt;10000&amp;&amp;ball_y&gt;300&amp;&amp;ball_x&lt;31700&amp;&amp;ball_x&gt;300){ if (panel.field[ball_x/3200][(ball_y/100-3)/10]!=0)destroy_block(0,-3); else if (ball_y&lt;9000&amp;&amp;panel.field[ball_x/3200][(ball_y/100+3)/10]!=0)destroy_block(0,3); else if (panel.field[(ball_x/100-2)/32][ball_y/1000]!=0)destroy_block(-2,0); else if (panel.field[(ball_x/100+2)/32][ball_y/1000]!=0)destroy_block(2,0);}} Thread.sleep(10);} }}; time.run(); } static void destroy_block(int x, int y){ panel.field[(ball_x/100+x)/32][(ball_y/100+y)/10]=0; ball_vx= (x!=0) ? -ball_vx : ball_vx; ball_vy= (y!=0) ? -ball_vy : ball_vy; points+=Math.abs(ball_vx/10)+Math.abs(ball_vy/10); } } class GamePanel extends JPanel{ int field[][]=new int[10][10]; @Override public void paintComponent(Graphics g){ g.setColor(Color.WHITE); g.fillRect(0, 0, 320, 240); for (int x=0;x&lt;10;x++ ) for (int y=0;y&lt;10;y++ ){ g.setColor(new Color(Integer.MAX_VALUE-field[x][y])); g.fillRect(x*32, y*10, 32, 10); } g.setColor(Color.BLACK); g.fillRect(Main.paddle_x, 200, Main.paddle_width, 10); g.drawOval(Main.ball_x/100-2, Main.ball_y/100-2, 5, 5); g.drawString("Lives: "+Main.lives+" Points: "+Main.points, 0, 220); if (Main.game_state==0&amp;&amp;Main.lives&gt;0) g.drawString("Click and drag to start", 100, 120); if (Main.lives==0) g.drawString("GAME OVER", 100, 120); } }
  23. The iPAQ hx4700 is a nice (although ancient) PDA with 100% linux support and wifi injection capability.
  24. How about using PHP's exec() function? (when everything else fails)
×
×
  • Create New...