GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824
Rep:
what to code next? perl related.
i have made a http sniffer, which is useless these days.
then i ran & tested MitMproxy on my lan : https://mitmproxy.org/
installed Suricata in IPS mode and made custom rules that stores executable files in a folder called Filestore, made a perl script that automatically submits those executables to virustotal...
...and moves those exe's to folder called "infected" if there is positive results from virustotal's reply.
now i am making little program that sends positive files of Clamav scan to virustotal.
i am not sure what kind of project i should start next, any ideas welcome, some kind security related network program would be one i would like to do.
i have been thinking about some kind of honeypot program that i should install & test and write automatic submission of files it gets from bad guys.
If you can get your own TLS certificates on to the target clients then you could expand the HTTP sniffer to cover HTTPS.
Quote:
Originally Posted by //////
i have been thinking about some kind of honeypot program that i should install & test and write automatic submission of files it gets from bad guys.
A while back, I started implementing SSH in Perl but was slow about it and a week into the project, someone else published a working Python implementation. With certain knowledge, it is not that hard, though I had to pick up that knowledge along the way. If you were to make a Perl implementation of SSH, you could watch what passwords the bruteforcers attempt or even pretend to let them in and see what they try to do by capturing all incoming strings without actually doing anything.
Last edited by Turbocapitalist; 02-10-2024 at 02:50 AM.
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824
Original Poster
Rep:
Quote:
Originally Posted by Turbocapitalist
If you can get your own TLS certificates on to the target clients then you could expand the HTTP sniffer to cover HTTPS.
i did that with Mitmproxy. its one thing i could do again
Quote:
Originally Posted by Turbocapitalist
If you were to make a Perl implementation of SSH, you could watch what passwords the bruteforcers attempt or even pretend to let them in and see what they try to do by capturing all incoming strings without actually doing anything.
"That sounds like a good and typical 'Perl' thing to do."
Also bear in mind that Perl has the CPAN contributed-software library, which IMHO is one of the best and most mature collections available anywhere. Before you do anything "new" with Perl, canvass that library very carefully to see if someone has already done it. Also, look for packages which are soliciting help and contributors.
Make it find all possible solutions for a given board configuration, or print an error message if the given board configuration is invalid (ie, the number of empty squares is not divisible by 5, or the number of empty squares is greater than 5 * [how many pentominoes there are])
Make it print the solutions in pretty colours using ANSI escape codes and make it format them in a pretty way, perhaps using the unicode box drawing characters.
Last edited by BenisBrothers; 02-19-2024 at 09:19 AM.
If you look at the contents pages of the books listed here https://bookauthority.org/books/best-perl-books, you'll probably get some inspirations ....
(Okay, so skip the Learning Perl & Perl 6 books)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.