Jump to content

thefatmoop

Active Members
  • Posts

    79
  • Joined

  • Last visited

Posts posted by thefatmoop

  1. what you guys need is a microcontroller to listen to the magnetic head then convert to serial. I did alot of programming for an rfid reader in a college project then did a few of my own projects.... When RFID readers were introduced the goal was to replace magnetic strips, and the rfid readers were built for magnetic stripe emulation.

    the programs for RFID readers would work with magnetic stripes with very little work.

    here is one someone did with one of the easiest to use microcontrollers

    http://www.instructables.com/id/SMBGT71FJBYZ4QP/

  2. I have experience using serial connection between microcontrollers and PCs, but I have very little VB6 experience so I don't think I can offer much help. It sounds like your problem is within your VB6 software? Maybe you can have the software record all the received serial output to a .txt file to look for anomalies?

    But I did want to say thanks for the tip that the Wii accessories communicate using I2C! I didn't realize that before, now I've got a new project to play with. :)

    Is there a connector available to plug in the Wii accessories? I really don't want to have to cut the cable of my Wii nunchuck.

    yes yes there is! take a double copper sided pcb and use a dremel to cut a board like this.

    http://todbot.com/blog/2008/02/18/wiichuck...pter-available/

    or i guess u can buy one.

    I was able to get the program working PERFECT! acceleration works, accelerometer works. I was playin some TF2 and it felt like halo3 lol. umm it's setup so i can press the c+z at same time when using accelerometer to recalibrate it.

    Ideally i would like to re-write the program in java or something open source/ cross platform (python?) Most of my machines cept my gaming rig run linux... so lol it's limited. Another problem is i'm using vb6 and the APIs i'm using aren't standard on windows anymore.... so the program would need to install the apis. I need a programming environment that i can control the mouse and serial...

    anyway yeah i'll post the source code on my site hopefully tonight (it would help if i had a site to start with) setting up drupal.... my program is a bit messy too.

  3. Alright so i'm reading the i2c networking from a wii nunchuck using a arduino microcontroller. Idea is that the microcontroller will read the data from wii nunchuck, and convert it to a serial command. A program on the computer will then read the serial input, then it will move the mouse accordingly.

    an example serial output is:

    jx223jy225ax793ay647az677zb1cb1

    interpreted:

    joystick x =223

    joystick y =225

    accelerometer x =793

    accelerometer y =647

    ...etc

    here's a program i was working on in vb6 (since i've done mouse programs in vb6 i decided to start off there)

    problem is that if i'm taking 100 readings a second it just spams the mouse clicking.... text boxes are reading properly, but does anyone know what's wrong?

    Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)

    Const MOUSEEVENTF_LEFTDOWN = &H2

    Const MOUSEEVENTF_LEFTUP = &H4

    Const MOUSEEVENTF_MIDDLEDOWN = &H20

    Const MOUSEEVENTF_MIDDLEUP = &H40

    Const MOUSEEVENTF_MOVE = &H1

    Const MOUSEEVENTF_ABSOLUTE = &H8000

    Const MOUSEEVENTF_RIGHTDOWN = &H8

    Const MOUSEEVENTF_RIGHTUP = &H10

    Dim i As Integer

    Dim InBuffer

    Dim c As String

    Dim z As String

    Private Sub Form_Load()

    MSComm1.Settings = ("115200, n, 8, 1")

    MSComm1.RThreshold = 1

    For i = 1 To 10

    List1.AddItem (i)

    Next

    App.TaskVisible = False

    End Sub

    Private Sub List1_Click()

    On Error GoTo ErrHandler

    If MSComm1.PortOpen = True Then

    MSComm1.PortOpen = False

    End If

    MSComm1.CommPort = List1.ListIndex + 1 ' Select port

    MSComm1.PortOpen = True

    Exit Sub

    ErrHandler:

    MsgBox "An unknown error occurred. Make certain the port is valid and not in use"

    End Sub

    Private Sub MSComm1_OnComm()

    InBuffer = MSComm1.Input

    If MSComm1.CommEvent = comEvReceive Then

    If Len(InBuffer) <> 33 Then

    Exit Sub

    End If

    Label1.Caption = "joy X: " & Mid$(InBuffer, 3, 3) ' Input data

    Label2.Caption = "joy Y: " & Mid$(InBuffer, 8, 3)

    Label3.Caption = "accel X: " & Mid$(InBuffer, 13, 3)

    Label4.Caption = "accel Y: " & Mid$(InBuffer, 18, 3)

    Label5.Caption = "accel Z: " & Mid$(InBuffer, 23, 3)

    Label6.Caption = "button C: " & Mid$(InBuffer, 31, 1)

    Label7.Caption = "button Z: " & Mid$(InBuffer, 28, 1)

    If Mid$(InBuffer, 28, 1) = "0" Then

    mouse_event MOUSEEVENTF_LEFTDOWN, 0&, 0&, cButt, dwEI

    DoEvents

    End If

    ElseIf Mid$(InBuffer, 28, 1) = "1" Then

    mouse_event MOUSEEVENTF_LEFTUP, 0&, 0&, cButt, dwEI

    DoEvents

    End If

    If Mid$(InBuffer, 31, 1) = "0" Then

    mouse_event MOUSEEVENTF_RIGHTDOWN, 0&, 0&, cButt, dwEI

    DoEvents

    ElseIf Mid$(InBuffer, 31, 1) = "1" Then

    mouse_event MOUSEEVENTF_RIGHTUP, 0&, 0&, cButt, dwEI

    DoEvents

    End If

    End If

    End Sub

    Private Sub Form_Unload(Cancel As Integer)

    If MSComm1.PortOpen = True Then

    MSComm1.PortOpen = False

    End If

    End Sub

  4. i was originally cs... go into electrical engineering (you learn how to "hack" all sorts of protocols.)

    computer science focuses on programming (honestly 80% is oursorced to india), therefore; creates instability for an american cs major (we pay our india workers 9 usd per hour, and they work HELLA fast)

    cs majors make about 40k out of college

    ee majors make about 80k out of college

    ee majors typically nearly have a Batchelor degree in math

    encryption reverse engineering usually requires an understanding of math to the extent that u need a doctorate

    i love ee cause it is a good stable job market, and i build computers (microcontrollers) and write the software for em

  5. So recently I made a 32bit RFID door unlocker for my car...

    worked well... hmm i'm able to read some friend's work RFID tags, and I had them displaying on a b/w lcd screen.

    >.> looking for a way to broadcast fake RFID tags on the LF spectrum... anyone know? (obviously an active changeable tag)

    (i think it would b cool to put the rfid reader under one gloove, and an LCD screen on the other side. Then i could scan ppl's rfid then scroll through and pick the one I want to use)

    5cc5so.jpg

    30xhb85.jpg

    just ordered this para int LCD display to go along with some black gloves =p

    http://www.sparkfun.com/commerce/product_i...products_id=709

    does anyone know if all RFID readers emulate magnetic strip output? (all the ones i've found does emulation so that companies don't need to rewrite programming for their scanners).. i could just do some BIG time research and get some buds to make an rfid broadcaster... (sounds like a few months of work, so i'm looking for a finished product)

    </3 magnetic strip reader emulation! </3 char buffers =P

  6. wifizoo:

    No, I was never able to see anything other than APs / clients... My network card was in monitor mode. I really think it's my wifi card, so i'm going to try a different one that is supported. i bet ur right on the part where if u grab cookies and use a different internet ip the cookies prob won't work.

    as for hamster i'll try using it with cain as the mitm.

  7. yeah wifizoo is basically same thing only no mitm.. rather u need network card compatible to go into monitor mode

    $iwconfig iface mode monitor

    as for hamtaro i'll try it with using something other than ferret to mitm

    (i'm also doing all this inside a VM with bridged networking)

  8. yea that's kinda how my current job is... company I work at sets up tons of servers and the ceo really wanted to get someone good with linux/virtualization, and thats when i came along. I do the original setup (typically installing ubuntu headless server, openssh-server, and vmware server 2.) and sometimes help with misc stuff on windows server.

    no one other than I know much about linux... not to add i always use a non gui server edition =P.

    will be interesting what happens when i leave... (i'm about to leave due to low pay lol)

  9. So i've been using backtrack2 now 3 and I really started using ubuntu back in 7.04 (spent a college semester where I didn't have windows installed lol)

    Ubuntu 8.10 with compiz 0.7.8 and a plethora of plugins and I LOVE IT (work at a server consulting company and we use vmware for virtually everything sever related) vmware server2, vmware workstation, and vmware player. Using ubuntu server edition for all servers and ubuntu server edition for mostly all the client servers (we do have a few windows server 2003s and a freenas)

    After getting 'good' at using linux and how few restrictions it has... I've been completely amazed/addicted. It's more stable than really any other os, it looks absolutely amazing... and it's free and no licensing to deal with (in the server business it's a MAJOR headache to deal with licensing and making sure everything is legal/legit.) And if i need a windows system just power up a vm. (snapshots <3)

    So my main question is What's the 'best' linux system out there right now? I've been using ubuntu and i love it.... but is there something out there that's better? I just switched majors from comp sci (lower paying field) to Electrical engineering.... I want to stay on top of the computers =P

  10. on backtrack 3 beta I would just install and setup the os to how i wanted... then save the session.

    It was still a "Live OS" and would be capable of running on any pc, but it also had all my programs and scripts. And another nice part is that I had java JRE, java compliler, and eclipse for school. Eclipse breaks so much that it was nice to have it configured and it wouldn't break (Cause it always reverted to orig session.)

    then just save w/e ur doing to ur flash drive.... otherwise it will go bb.

    this isn't really a full install, but i preferred doing this in backtrack cause it wasn't a primary os

  11. that's interesting. Maybe it's firefox3 because I set up the proxy, and i saw that both programs were getting cookies.

    I just have absolutely no luck with cookie programs lol WifiZoo never worked for me

  12. So recently I installed a windows virtual machine just to play around with o.o I was able to get hamster and ferret to work seemingly fine.

    On the left side though on the "instances" whenever I click on ANY of the links /sessions/cookies it asks me to save a file...

    how do i get into my open gmail account?

  13. lol here's an idea

    here'z teh perfect setup. Take a pan (like for boiling water in) put 1/2 inch think aluminum blocks in it. put thermoelectric peltier chips on top of block and put another block on other side of peltier chips. Put the fon in the center of all that and put a cover over that so it's a fake bottom.

    when boiling water, some of the heat transferring will go thermal into electrical energy tada!

    now on the realistic side: (here's where my EE major comes in =P)

    make a resin case and embed the fon in the resin (like most epoxies it's nonconductive and not too bad on static)

    now put some resistors/LEDs off the regulated 5V and put like a business card on the front(backlit by LEDs). paint the back of it black and put a thin layer of resin to protect paint.

    http://blog.makezine.com/archive/2007/12/b...sin_encase.html

  14. This client of ours wants a simple FTP server with permissions and groups. We started out with an ubuntu server 8.10, but permission settings were beginning to be a hassle.

    We hooked them up with the latest version of FreeNAS, but we're just having too many problems with permissions on the SFTP... I'm about 2 days away from saying %#@$ it and making them buy windows server 2003 to just vpn over and use network shared resources.

    I looked for a good guide on how to configure file permissions for groups of people, but i'm having a really hard time getting chmod/chown to work on a specific user/folder.

    Does anyone know of an sftp / smb server program that lets the admin configure user permissions on certain folders? Or of a site that does a good job explaining how to use permissions on linux?

×
×
  • Create New...