PDA

View Full Version : H2V Mini-Rcon



Patrickssj6
August 21st, 2007, 10:40 AM
Need more information....but if it works, yes why not. :D

Vicky
August 21st, 2007, 12:14 PM
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.

Agent ME
August 24th, 2007, 08:02 PM
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.

Vicky
August 25th, 2007, 04:10 PM
How do you launch an app thro a readme?!?

Limited
August 25th, 2007, 04:19 PM
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.

Con
August 25th, 2007, 04:32 PM
How do you launch an app thro a readme?!?
lol, you cant program a text file to do things

Limited
August 25th, 2007, 04:56 PM
lol, you cant program a text file to do thingsBatch files you can though :D

Vicky
August 25th, 2007, 06:06 PM
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

Patrickssj6
August 26th, 2007, 06:17 AM
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

Limited
August 26th, 2007, 09:11 PM
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:O I heard you said it was easy then relised what you had to do and said it was too hard :O

Patrickssj6
August 27th, 2007, 10:39 AM
:O I heard you said it was easy then relised what you had to do and said it was too hard :O
Wait, what?

Is Mr. Canadian Sunshine (aka Skyline) high again or did I tell you that? :)

Limited
August 27th, 2007, 12:22 PM
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.

Patrickssj6
August 27th, 2007, 12:56 PM
I have a complete source in C# if you want :P

Resinball
August 29th, 2007, 08:47 PM
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 &#37;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:

Vicky
August 30th, 2007, 04:01 AM
Ever heard of the command 'echo off' ?

Patrickssj6
August 30th, 2007, 01:05 PM
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.