<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Rust on CrippledMind's InfoSec Journal</title><link>https://crippledmind-infosec-journal.netlify.app/tags/rust/</link><description>Recent content in Rust on CrippledMind's InfoSec Journal</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sun, 16 Jun 2024 14:55:54 +0530</lastBuildDate><atom:link href="https://crippledmind-infosec-journal.netlify.app/tags/rust/index.xml" rel="self" type="application/rss+xml"/><item><title>RustNecCommander</title><link>https://crippledmind-infosec-journal.netlify.app/posts/projects/rustneccommander/</link><pubDate>Sun, 16 Jun 2024 14:55:54 +0530</pubDate><guid>https://crippledmind-infosec-journal.netlify.app/posts/projects/rustneccommander/</guid><description>&lt;!-- # Hey Fuck off!! -->
&lt;h1 id="basic-c2-server">Basic C2 Server
&lt;/h1>&lt;p>The Basic C2 Server is a Rust-based implementation of a basic Command and Control (C2) server that allows you to manage multiple clients, generate unique names and IDs for each client, and execute commands remotely. It periodically reads commands from a file and sends them to all connected clients, collects the output from clients, and prints it.&lt;/p>
&lt;h2 id="features">Features
&lt;/h2>&lt;ul>
&lt;li>Asynchronous handling of multiple client connections.&lt;/li>
&lt;li>Unique name and ID generation for each client.&lt;/li>
&lt;li>Periodic command execution given the commands in a file and output collection from all connected clients.&lt;/li>
&lt;/ul>
&lt;h1 id="intermediate-c2-server">Intermediate C2 Server
&lt;/h1>&lt;p>The Intermediate C2 Server is a command-line tool implemented in Rust that provides a comprehensive set of features for managing multiple clients, including starting the server, listing connected clients, stopping the manager, and interacting with specific clients.&lt;/p>
&lt;h2 id="features-1">Features
&lt;/h2>&lt;ul>
&lt;li>Start the server on port 8080, with each client connection handled in a separate background thread.&lt;/li>
&lt;li>List all connected clients using a HashMap that maps unique names to client IP addresses and TcpStreams.&lt;/li>
&lt;li>Stop the server manager gracefully.&lt;/li>
&lt;li>Interact with specific clients by sending custom commands and receiving output in real-time.&lt;/li>
&lt;/ul>
&lt;h3 id="screenshots">Screenshots
&lt;/h3>&lt;img width="1031" alt="image" src="https://github.com/VikasShavi/RustNetCommander/assets/83757578/3ce251cd-e21d-48e9-aa9e-c3ee7dfb0cb7"></description></item></channel></rss>