Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 27th, 2008, 8:01 PM   #1
tehpwnengine
Newbie
 
tehpwnengine's Avatar
 
Join Date: Feb 2008
Posts: 2
Rep Power: 0 tehpwnengine is on a distinguished road
Can ANYONE Do this?

Hello,
My group has been experimenting with mutiple codes and languages to try to find something that works. Seems that everything has failed. As a last resort, im asking if anyone knows how to solve our dilema on the forums. Well here goes.
We need a program that is loaded onto an electronic, like a iPod, and when the electronic is inserted, the program sends the IP address of the computer that you just plugged it into, to a email, or a general server. So if ANYONE knows anything, please post whatever you can... ill be forever grateful.

Thank you for your time.
tehpwnengine is offline   Reply With Quote
Old Feb 27th, 2008, 8:18 PM   #2
Narue
Professional Programmer
 
Narue's Avatar
 
Join Date: Sep 2005
Posts: 419
Rep Power: 4 Narue is on a distinguished road
Re: Can ANYONE Do this?

And you want this, why?
__________________
Even if the voices aren't real, they have some pretty good ideas.
Narue is offline   Reply With Quote
Old Feb 27th, 2008, 8:36 PM   #3
Canis Major
Some C++ guy
 
Canis Major's Avatar
 
Join Date: Aug 2007
Posts: 14
Rep Power: 0 Canis Major is on a distinguished road
Re: Can ANYONE Do this?

I'm sorry for being paranoid, but why does this sound like a potential prototype for a virus which sends IP addresses to someone?
Canis Major is offline   Reply With Quote
Old Feb 27th, 2008, 8:50 PM   #4
andro
Professional Programmer
 
Join Date: Oct 2005
Location: California
Posts: 316
Rep Power: 4 andro is on a distinguished road
Send a message via AIM to andro
Re: Can ANYONE Do this?

Sounds more like a track my stolen iPod type of thing to me :p
__________________
http://www.kevinherron.com/
andro is offline   Reply With Quote
Old Feb 27th, 2008, 10:14 PM   #5
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,122
Rep Power: 5 lectricpharaoh will become famous soon enough
Re: Can ANYONE Do this?

On a Windows machine, when you connect a device that appears as a 'mass storage device' to the computer, such as a flash disk, media player, phone, etc, it will automatically run software stored on the device, given two conditions. First is that Autoplay is enabled for the logical drive in question, ie the drive letter. This may not be the same assignment between sessions, if the user connects different devices, and is unlikely to be the same between computers. The second is that the device needs an autorun.inf file that specifies what program(s) to run.

This means that it's a simple matter to do this on a Windows-based machine if Autoplay is enabled (it's enabled by default, and many novice users don't change this). Once your program is executed, it can do pretty much whatever it wants, including obtaining the local IP address(es) assigned to the computer. This might be different from the external IP address, if the machine is behind a router, but you can determine that easily enough by parsing the returned data from sites such as whatismyip.org. Alternatively, you can query the router if this is supported, but a direct method probably isn't on many home routers, which leaves parsing a mess of generated HTML for the address, and it will be different for each router model.

Once you have the IP address(es) you need, it's a simple matter to send the data to your destination.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Feb 28th, 2008, 12:03 AM   #6
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 598
Rep Power: 4 Ancient Dragon is on a distinguished road
Re: Can ANYONE Do this?

I worked for several years on Symbols barcode scanner wireless devices. The IP address is stored in the registry. Have no idea how it works on IPOD, possibly similar.
__________________
<<Freelance Programmer>> << Hobby Site>>
Ancient Dragon is offline   Reply With Quote
Old Mar 3rd, 2008, 5:37 PM   #7
tehpwnengine
Newbie
 
tehpwnengine's Avatar
 
Join Date: Feb 2008
Posts: 2
Rep Power: 0 tehpwnengine is on a distinguished road
Re: Can ANYONE Do this?

Well Narue and Canis Major, definetly not a virus.. It's a huge @$$ business programming project that we've been working for some time now. But we cant get a working code. We thought about the autorun.inf but we dont have enough programming experiance to make the program work. Thats our big dilema. And yes, it is a stolen ipod kind of thing andro . So if anyone has anything, or any idea in terms of code or advice ... yaay please post
tehpwnengine is offline   Reply With Quote
Old Mar 3rd, 2008, 5:59 PM   #8
Wizard1988
Professional Programmer
 
Wizard1988's Avatar
 
Join Date: Oct 2005
Location: Chitown
Posts: 422
Rep Power: 4 Wizard1988 is on a distinguished road
Re: Can ANYONE Do this?

This is pretty complicated. The autorun.ini method has major flaws to it. First you must rely on autorun being enabled, and I don't think it would work across different platforms. Chances are that this will be "almost" impossible for you to do. I don't think that that you will be able to solve this problem through software, you would most likely have to modify the hardware itself..
__________________


Last edited by Wizard1988; Mar 3rd, 2008 at 6:14 PM.
Wizard1988 is offline   Reply With Quote
Old Mar 3rd, 2008, 6:17 PM   #9
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
Re: Can ANYONE Do this?

Quote:
Originally Posted by tehpwnengine View Post
We thought about the autorun.inf but we dont have enough programming experiance to make the program work.
I don't think it takes much experience:
autorun.inf Syntax (Toggle Plain Text)
  1. [autorun]
  2. Open=myprogram.exe
  3. Icon=myprogram.exe,0
OpenLoop is offline   Reply With Quote
Old Mar 3rd, 2008, 6:26 PM   #10
Benoit
Expert Programmer
 
Benoit's Avatar
 
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 574
Rep Power: 5 Benoit is on a distinguished road
Re: Can ANYONE Do this?

What is the nature of this huge buttoxed business project?

I made a keylogger that uses autorun after reading a book by Mitnick, only small problem is that windows asks the user manually if they should run the program.
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4
Benoit is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:15 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC