|
void | DisableAllButtons () |
| Disables all the buttons in the form.
|
|
void | EnableAllButtons () |
| Enables all the buttons within the form.
|
|
void | InfoGrab_Load (object sender, EventArgs e) |
| Called when the InfoGrab form is loaded.
|
|
async void | button1_Click (object sender, EventArgs e) |
| Disables all buttons, sends a byte array to the client, receives a byte array from the client, and processes the data to display in a rich text box.
|
|
async void | button3_Click (object sender, EventArgs e) |
| Handles the button click event by sending a byte to the client and receiving data asynchronously.
|
|
async void | button5_Click (object sender, EventArgs e) |
| Sends a request to the client and displays the received data in richTextBox3.
|
|
async void | button7_Click (object sender, EventArgs e) |
| Disables all buttons, sends a byte array to the client, receives a byte array from the client, and processes the data to display in a rich text box.
|
|
async void | button9_Click (object sender, EventArgs e) |
| Sends a request to the client and displays the received data in a rich text box.
|
|
void | richTextBox1_TextChanged (object sender, EventArgs e) |
| Event handler for the TextChanged event of the richTextBox1 control.
|
|
void | button2_Click (object sender, EventArgs e) |
| Handles the button click event to save the content of the richTextBox to a text file.
|
|
void | button4_Click (object sender, EventArgs e) |
| Handles the click event of button4 by saving the content of richTextBox2 to a text file.
|
|
void | button6_Click (object sender, EventArgs e) |
| Handles the button click event to save the content of richTextBox3 to a text file.
|
|
void | button8_Click (object sender, EventArgs e) |
| Handles the button click event to save the content of richTextBox4 to a text file.
|
|
void | button10_Click (object sender, EventArgs e) |
| Handles the click event of button10 by saving the content of richTextBox5 to a text file.
|
|
void | InitializeComponent () |
| Initializes the components of the form.
|
|
async void xeno_rat_server.Forms.InfoGrab.button1_Click |
( |
object | sender, |
|
|
EventArgs | e ) |
|
inlineprivate |
Disables all buttons, sends a byte array to the client, receives a byte array from the client, and processes the data to display in a rich text box.
- Parameters
-
sender | The object that raised the event. |
e | The event data. |
This method disables all buttons, sends a byte array to the client using asynchronous communication, receives a byte array from the client using asynchronous communication, processes the received data to display in a rich text box, and then enables all buttons. If no data is received from the client, an error message is displayed, and the form is closed.
async void xeno_rat_server.Forms.InfoGrab.button3_Click |
( |
object | sender, |
|
|
EventArgs | e ) |
|
inlineprivate |
Handles the button click event by sending a byte to the client and receiving data asynchronously.
- Parameters
-
sender | The object that raised the event. |
e | The event data. |
This method disables all buttons, sends a byte to the client using the client and receives data asynchronously. If the received data is null, it displays an error message and closes the form. Then, it deserializes the received data into a list of cookies and populates the richTextBox2 with the cookie information. Finally, it enables all buttons.
async void xeno_rat_server.Forms.InfoGrab.button7_Click |
( |
object | sender, |
|
|
EventArgs | e ) |
|
inlineprivate |
Disables all buttons, sends a byte array to the client, receives a byte array from the client, and processes the data to display in a rich text box.
- Parameters
-
sender | The object that raised the event. |
e | The event data. |
- Exceptions
-
Exception | Thrown when an error occurs with the infograbbing. |
- Returns
- An asynchronous task representing the operation.
This method disables all buttons, sends a byte array with value 3 to the client using the SendAsync method of the client object. It then receives a byte array from the client using the ReceiveAsync method of the client object. If the received data is null, it displays an error message and closes the form. It deserializes the received byte array into a list of Download objects using the DeserializeDownloadList method. It then iterates through the list of Download objects, concatenates their string representations, and displays the result in a rich text box. Finally, it enables all buttons after completing the operation.
async void xeno_rat_server.Forms.InfoGrab.button9_Click |
( |
object | sender, |
|
|
EventArgs | e ) |
|
inlineprivate |
Sends a request to the client and displays the received data in a rich text box.
- Parameters
-
sender | The object that raised the event. |
e | The event data. |
- Exceptions
-
Exception | Thrown when an error occurs during the infograbbing process. |
- Returns
- A task representing the asynchronous operation.
This method sends a request to the client using the SendAsync method and waits for the response using the ReceiveAsync method. If the received data is null, an error message is displayed, and the form is closed. The received data is deserialized into a list of CreditCard objects, and each object is appended to the textdata string. The textdata is then displayed in the richTextBox5 control, and all buttons are enabled after the operation is completed.
static List< Cookie > xeno_rat_server.Forms.InfoGrab.DeserializeCookieList |
( |
byte[] | bytes | ) |
|
|
inlinestatic |
Deserializes a byte array into a list of cookies.
- Parameters
-
bytes | The byte array to be deserialized. |
- Returns
- A list of cookies deserialized from the input bytes .
This method deserializes the input byte array bytes into a list of cookies. It reads the number of cookies from the byte array, then iterates through each cookie's properties (host, name, path, value, and expiration) and adds them to the cookie list. The method returns the deserialized list of cookies.
static List< CreditCard > xeno_rat_server.Forms.InfoGrab.DeserializeCreditCardList |
( |
byte[] | bytes | ) |
|
|
inlinestatic |
Deserializes a byte array into a list of CreditCard objects.
- Parameters
-
bytes | The byte array to be deserialized. |
- Returns
- A list of CreditCard objects deserialized from the input byte array.
This method deserializes the input byte array into a list of CreditCard objects. It reads the number of CreditCard objects from the byte array, and then iterates through the array to read the details of each CreditCard object, including name, month, year, number, and date_modified. The method then constructs a CreditCard object for each set of details and adds it to the list.
static List< Login > xeno_rat_server.Forms.InfoGrab.DeserializeLoginList |
( |
byte[] | bytes | ) |
|
|
inlinestatic |
Deserializes a byte array into a list of Login objects.
- Parameters
-
bytes | The byte array to be deserialized. |
- Returns
- A list of Login objects deserialized from the input byte array.
This method deserializes the input byte array into a list of Login objects. It reads the number of Login objects from the byte array, and then iterates through the array to read the URL, username, and password for each Login object. The method constructs a new Login object for each set of URL, username, and password, and adds it to the list. The deserialized list of Login objects is then returned.
static List< WebHistory > xeno_rat_server.Forms.InfoGrab.DeserializeWebHistoryList |
( |
byte[] | bytes | ) |
|
|
inlinestatic |
Deserializes a byte array into a list of WebHistory objects.
- Parameters
-
bytes | The byte array to be deserialized. |
- Returns
- A list of WebHistory objects deserialized from the input byte array.
This method deserializes the input byte array into a list of WebHistory objects. It reads the number of WebHistory objects from the byte array, and then iterates through the array to read the URL, title, and timestamp for each WebHistory object. It then constructs a new WebHistory object using the read data and adds it to the list. The method returns the deserialized list of WebHistory objects.