![]() |
|
[Python] Basic Python IRC Scripts - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] Basic Python IRC Scripts (/showthread.php?tid=6067814) |
Basic Python IRC Scripts - Dawnfang - Apr 16, 2020 Hello guys, I created a basic python IRC script and wanted to see what you guys thought about it. I'm interested in any thoughts or improvements about the scripts. Client.py (The client used to send messages) Code import socketServer.py (Receives and directs messages to clients) Code import socketReader.py (Receives messages and updates them to terminal to be viewed) Code import socketThe reason I have the Reader and Client separated into 2 separate scripts was because, I couldn't figure out a way to be able to send messages without the terminal being cleared every time the client receives a new message. RE: Basic Python IRC Scripts - D34r_Us3rn4m3 - May 4, 2020 Cool :) A suggestion would be to add an encryption, something like RSA to exchange keys and then AES 256 bit. This is really easy to do having the script that you have (I know because I've done it), if you need some help hit me up. I've also tried XOR encryption for "perfect secrecy" but that's way harder to implement having the two-time-pad vulnerability and trying to avoid it. RE: Basic Python IRC Scripts - Dawnfang - May 5, 2020 (May 4, 2020 01:47 AM)D34r_Us3rn4m3 Wrote: Cool :) A suggestion would be to add an encryption, something like RSA to exchange keys and then AES 256 bit. This is really easy to do having the script that you have (I know because I've done it), if you need some help hit me up. Appreciate the feedback 😁 Adding some sort of encryption definitely would be a good idea. I was also planning on having chat rooms that could be viewed from a menu or something, so you could host your chat server and have it be available to everyone using this client. RE: Basic Python IRC Scripts - D34r_Us3rn4m3 - May 14, 2020 (May 5, 2020 12:33 PM)Dawnfang Wrote: Appreciate the feedback 😁 Adding some sort of encryption definitely would be a good idea. I was also planning on having chat rooms that could be viewed from a menu or something, so you could host your chat server and have it be available to everyone using this client.ah, I thought you were creating a RAT :D But nevertheless, good idea, keep going. |