-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
8,635 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
|
||
} | ||
|
||
} | ||
} |
Oops, something went wrong.