loading

This is a serious Military Styled Secured chat to make all your friends jealous.

Step 1: Launch Notepad

Open Notepad by pressing the Windows Key + R and typing notepad or Click Start and type notepad.

Step 2: Type Code Into Notepad

Type code into notepad.

Below is line by line syntax for the code.

@echo off
Title Secured Chat %random%

echo This Is A Secured Chat - Authorisation Number:%random%

echo ---------------------------------------------------

echo. set /p username=User ID:

echo %username% has joined! > join.dat

:message
set /p message=Say:

goto ip

:ip
for /f "tokens=1-2 delims=:" %%a in ('ipconfig^|find "IPv4"') do set ip=%%b set ip=%ip:~1%

goto send

:send
echo %username%@%ip%:(%time%)GMT -- %message% >> log.dat

goto message

You can replace %message% >>log.dat with log.dat as that would save the file in the same folder you would run tha chat programme.

Step 3: Receivers Code

@echo off
Title Secured Chat Ops %random% color 0b

:read
cls type join.dat echo. type log.dat

echo. timeout /t 1 >nul

goto read

Step 4: Check It Out!!!

Now comes the time where you can test the full chat. Type in your name, and say something. Boom! You just made a secured mission impossible styled chat program which shows you even the IP Address of the sender. Now all you have to do to chat with others is share the folder with them!

Download the attached files and play with the Secured Chat Program.

PS: Feel free to rename the files to whatever you desire. Enjoy!!!

<p>im having some problems getting it to be received my friends please help</p>
<p>Hi there,</p><p>I've downloaded your files and the file &quot;<a href="https://www.instructables.com/files/orig/FQE/LE2Y/I6WLHMGO/FQELE2YI6WLHMGO.bat" rel="nofollow">Secured Chat.bat</a>&quot; is running till &quot;Say:&quot;</p><p>After that whatever I type, it says &quot;Access is denied&quot;</p><p>the file &quot;<a href="https://www.instructables.com/files/orig/FQE/LE2Y/I6WLHMGO/FQELE2YI6WLHMGO.bat" rel="nofollow">Secured Receiver.bat</a>&quot; is running and saying xxxxx has joined and then &quot;The system cannot find the file specified&quot;</p><p>What could be the glitch?</p>
<p>Hi, You may not have permissions to write to the C folder on the machine you are working on so do this;</p><p>type <strong>log.dat</strong> to type log.dat as your computer may not support unc paths.</p><p>:read<br>cls<br>type <strong>join.dat</strong><br>echo.<br>type <strong>log.dat</strong><br>echo.<br>timeout /t 1 &gt;nul<br>goto read</p>
<p>Hi there,</p><p>I've downloaded your files and the file &quot;<a href="https://www.instructables.com/files/orig/FQE/LE2Y/I6WLHMGO/FQELE2YI6WLHMGO.bat" rel="nofollow">Secured Chat.bat</a>&quot; is running till &quot;Say:&quot;</p><p>After that whatever I type, it says &quot;Access is denied&quot;</p><p>the file &quot;<a href="https://www.instructables.com/files/orig/FQE/LE2Y/I6WLHMGO/FQELE2YI6WLHMGO.bat" rel="nofollow">Secured Receiver.bat</a>&quot; is running and saying xxxxx has joined and then &quot;The system cannot find the file specified&quot;</p><p>What could be the glitch?</p>
<p>Change the path from ;</p><p>type \\127.0.0.1\c$\log.dat to type log.dat as your computer may not support unc paths.</p><p>:read<br>cls<br>type join.dat<br>echo.<br>type \\127.0.0.1\c$\log.dat<br>echo.<br>timeout /t 1 &gt;nul<br>goto read</p>

About This Instructable

858views

32favorites

License:

More by samueloppong:Fundamentals Of Networking | Understanding Network Devices Who is that on my network and what is he doing? Network Forensics Tutorial? Advanced CMD Troubleshooting For the IT Pro  
Add instructable to: