Skip to content

Commit

Permalink
v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir-78 authored Jul 16, 2021
1 parent dc30a99 commit aade7f3
Show file tree
Hide file tree
Showing 27 changed files with 8,635 additions and 0 deletions.
20 changes: 20 additions & 0 deletions ProcessRat v1.0.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProcessRat v1.0", "ProcessRat v1.0\ProcessRat v1.0.csproj", "{E24C423B-ACFF-44D8-9315-AC04CD142BFD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E24C423B-ACFF-44D8-9315-AC04CD142BFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E24C423B-ACFF-44D8-9315-AC04CD142BFD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E24C423B-ACFF-44D8-9315-AC04CD142BFD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E24C423B-ACFF-44D8-9315-AC04CD142BFD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Binary file added ProcessRat v1.0.v11.suo
Binary file not shown.
6 changes: 6 additions & 0 deletions ProcessRat v1.0/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>
131 changes: 131 additions & 0 deletions ProcessRat v1.0/Connections.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 64 additions & 0 deletions ProcessRat v1.0/Connections.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ProcessRat_v1._0
{
public partial class Connections : Form
{
public Connections()
{
InitializeComponent();
}

private void Connections_Load(object sender, EventArgs e)
{



}

private void listView1_MouseClick(object sender, MouseEventArgs e)
{

if (e.Button == MouseButtons.Right)
{
var focusedItem = listView1.FocusedItem;
if (focusedItem != null && focusedItem.Bounds.Contains(e.Location))
{
contextMenuStrip1.Show(Cursor.Position);
}
}
}


private void openIPLookUPToolStripMenuItem_Click_1(object sender, EventArgs e)
{

string ip = listView1.SelectedItems[0].SubItems[0].Text;
Process.Start("https://ipgeolocation.io/ip-location/" + ip);

}

private void copyToolStripMenuItem_Click_1(object sender, EventArgs e)
{

string rIP = listView1.SelectedItems[0].SubItems[0].Text;
string rPort = listView1.SelectedItems[0].SubItems[1].Text;
string lIP = listView1.SelectedItems[0].SubItems[2].Text;
string lPort = listView1.SelectedItems[0].SubItems[3].Text;

Clipboard.SetText("Remote IP: " + rIP + " - Remote Port: " + rPort + " - Local IP: " + lIP + " - Local Port: " + lPort);
MessageBox.Show("Done!", "Done!", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);

}

}
}
Loading

0 comments on commit aade7f3

Please sign in to comment.