In my last post (and also my first since I started writing this blog) I mentioned about IPMSG. Since I started using this very useful chat client for LANs, I decided to make some programs that let you do more with it.
The first being a Spammer, I like to call it "IP Spammer".
I started off by making use of the command-line support IPMSG has and using batch files to send continuous messages, thus making a spammer.
The command-line arguments for IPMSG are
"ipmsg [/msg] [/seal] ip_address message"
note:-[/seal] is not necessary.
Now use a for loop in a batch file to continuously send messages to any Ip Address in your LAN.
I am giving the coding I wrote to make this Spammer.
Start of code:
End of Code
In this I have also made it in such a way that no one can spam my own IP address. This can be modified by you in line 6. When someone tries to spam you, you will simply get a warning message stating "Spam Detected".
(It may be possible, that the same code or program may be found anywhere on the Internet.)
The first being a Spammer, I like to call it "IP Spammer".
I started off by making use of the command-line support IPMSG has and using batch files to send continuous messages, thus making a spammer.
The command-line arguments for IPMSG are
"ipmsg [/msg] [/seal] ip_address message"
note:-[/seal] is not necessary.
Now use a for loop in a batch file to continuously send messages to any Ip Address in your LAN.
I am giving the coding I wrote to make this Spammer.
Start of code:
- @echo off
- SET /P ipaddr=IP Address:
- SET /P messge=Message:
- SET /P no=Number of messages:
- echo Transmitting messages...
- if "%ipaddr%" == "10.10.18.24" goto :warn
- for /l %%X in (1,1,%no%) do (ipmsg.exe /MSG /SEAL %ipaddr% %messge% ----- Spammer made by prixti)& echo %%X
- goto :end
- :warn
- for /l %%X in (1,1,1) do (ipmsg.exe /MSG /SEAL %ipaddr% Spam Detected) & echo %%X
- :end
End of Code
In this I have also made it in such a way that no one can spam my own IP address. This can be modified by you in line 6. When someone tries to spam you, you will simply get a warning message stating "Spam Detected".
(It may be possible, that the same code or program may be found anywhere on the Internet.)
0 comments:
Post a Comment
Write your comment here