Need more information....but if it works, yes why not. :D
Printable View
Need more information....but if it works, yes why not. :D
Maybe enter the server-ip too? And i wouldn't send the pw over the net, use a table on client and server to encrypt and decrypt the pw.
You might as well just send the password over the net - forums do that when you log on.
If you wanted some security you could try tunnelling it through ssh or something like that.
How do you launch an app thro a readme?!?
I suggest encrypting a password, then comparing it to one set for the server, it will need to be encrypted for security purposes. Sounds good though.
Yeah lol, anywho, if i wanted an app (or two) like this i'll write it myself... made something like this for halo1 already. But i think the activity on halo2 is so poor i probably won't spend time on it :P
I think I'm going to *YAWN*
This is so easy (or at least not that complicated) if you do everything externally...I would prefer the data to be sent externally and not via H2V anyway. :D
Naw, he said to you it was going to work outside halo and we'd have to do networking and you were like mb thats not that easy :D
I was going to work on it, but since im on XP I cant test it or anything so pretty hard for me to develop it.
I have a complete source in C# if you want :P
For security measures I suggest you use Netcat (a.k.a. nc) or take a look at its source.
Here is a batch file example named passnc comprised of five parts:
I. connectnc.bat <- Local computer
@cls
@color 8
@echo.
@echo -----------------------------------------
@echo USAGE: connectnc.bat [password]
@echo -----------------------------------------
@echo.
@echo %1 | nc -vv 127.0.0.1 42 -w 1
@echo Authorizing ...
@echo.
@nc -vv 127.0.0.1 43
@color
@cls
@echo.
@echo -----------------------------------------
@echo Disconnected
@echo -----------------------------------------
II. downps.txt <- Server
~leave blank~
III .pass.txt <- Server
*PASSWORD*
IV. passnc.bat <- Server
@cls
@type NUL > downps.txt
@echo.
@echo -------------------------------------------
@echo PASSNC is listening on port 42.
@echo -------------------------------------------
@echo.
:START
@nc -l -p 42 > downps.txt
@fc downps.txt pass.txt | find /i "FC: no differences encountered" > nul
@if errorlevel==1 goto WRONG
@color 8
@echo Access Granted on %date%-%time%
@type NUL > downps.txt
@echo.
@nc -l -p 43 -e cmd.exe
@goto START
:WRONG
@color fc
@echo Access Denied on %date%-%time%
@echo.
@type NUL > downps.txt
@goto START
V. Netcat itself (~60kb) <- Server
Don't forget to adjust the password file, ip address and the port number :lol:
Ever heard of the command 'echo off' ?
Tss...batching.
Make sure you really don't mess up the security on this thing...for example if the server checks the password...HEY! how about I'll do anything to crack the app down so you can find some flaws to fix :P
But off course..you guys have to build it first.