Would i need to use winstock to create a remote shutdown program. I would like to shut down my home computer from say school with a dos prompt. Could i get a dos prompt to send a message to a program at my home computer?
You build an app (on your machine) that listens for FTP connections... And whenever one occur...It would automatically shutdown your computer...
then you run the command: FTP YourIP in DOS at school..
This would work..all you need is to know your IP or install DNS2GO
on your machine and get yourself a "domain.dns2go.com" Domain name...
So that you could EG: FTP MYDOMAIN.DNS2GO.COM from school ..and when your listening app recieves the attempt
from you (ftp'ing at school) on port 21(FTP PORT) then it would run your code aand shutdown the machine...
What machine do you have by the way?!?
Please PM me (PersonalMessage) so that I can help you further...
Im developing something very much alike to this...
*************** Please use [highlight=vb]..your code.. [/highlight] when posting code!
When you have received the working answer to your question,
please mark it as *SOLVED* + Your Questions Title ...using your Thread's Tool menu.
Also try to point out what answer made it work for you, or edit your first post to contain a quote of the correct answer...
Please Answer All Questions With Working Code Examples...
Im using a AMD XP athlon 1.33ghz - ECS K7AMA motherboard - home made! The old fashion way.
I am using D2G. But i need FTP to be available for my web site... well i could turn my web server off. Could i have a progarm listing to <my IP> on <Port Number>. Then with MS-Dos could i "Ping <d2g domain> on <Port Number>? would that work????
192.168.0.1 Preferred Animal: Penguin Reason for errors: Line#38
Posts
3,051
Originally posted by BuggyProgrammer you know you should really stop making useles posts to up your post counts
I agree
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe "I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
could i edit it to make no matter what password you enter it restarts? instead of a password could i change it to the variable (the password) to be a msgbox
couldn't that technically be used for evil... say you give all ur friends the program telling em it will speed up their computer, then randomly turn their computers off... *downloads program*
Government is another way to say better…than…you.
It’s like ice but no pick, a murder charge that won’t stick,
it’s like a whole other world where you can smell the food,
but you can’t touch the silverware.
Huh, what luck. Fascism you can vote for.
Humph, isn’t that sweet?
And we’re all gonna die some day, because that’s the American way
-Stone Sour
As for that to work you would need to know their IP and most people uses Dynaically IP's
Ofcourse you could add a code that try to connect to your computer with either static ip or a domain name on it...
Then you could make their par of the program, try to connect to that domain/ip (your pc) and leave their IP and COMPUTER NAME
But then you must make something that detects when they go online, and something that sits on your computer to "watch" for incoming info from those folks..
Also it must have to add an entry to the RUN in the REGISTRY of WINDOWS..(piece of cake) but...
My program hasn't those functions built in (even though i have made all those functions(as standalone progs)...
But you'ree onto something..Ofcourse its a security threath...
If you're afraid..then run a firewal... Or block unused ports..
PS: there is ALWAYS a way around if you''re online...
EG: I could put up a link here in this forum...like:
http://www.alexdata.nstemp.net (my homepage)
and when you click that link ..I could turn off your computer by using JAVASCRIPT or VBS or any other EXPLOIT affecting netscape and EXPLORER....
But then...Im a programmer...and I make this for the use of GOOD.. It all depends on the USER at the END...doesn't it....
????
But ENJOY the Programs..
*************** Please use [highlight=vb]..your code.. [/highlight] when posting code!
When you have received the working answer to your question,
please mark it as *SOLVED* + Your Questions Title ...using your Thread's Tool menu.
Also try to point out what answer made it work for you, or edit your first post to contain a quote of the correct answer...
Please Answer All Questions With Working Code Examples...