From fd45474544bec4f7ee138b8582626c2c9476a593 Mon Sep 17 00:00:00 2001 From: canarddu38 <71982379+canarddu38@users.noreply.github.com> Date: Tue, 15 Nov 2022 18:48:02 +0100 Subject: [PATCH] Add files via upload --- hacker/windows/ds.cs | 6 +++--- hacker/windows/ds.exe | Bin 53248 -> 53248 bytes 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hacker/windows/ds.cs b/hacker/windows/ds.cs index c1a0b531..adb4a96b 100644 --- a/hacker/windows/ds.cs +++ b/hacker/windows/ds.cs @@ -199,6 +199,7 @@ public static void exec_cmd(string cmd) } public static INatDevice device; public static bool ipchecked = false; + public static string GetPublicIP() { if(ipchecked = true) { @@ -216,7 +217,7 @@ public static void DeviceFound(object sender, DeviceEventArgs args) device = args.Device; ipchecked = true; - if(GetPublicIP().Length == 0) + if(!GetPublicIP().Contains('.')) { sendmsg("[x] Error: can't get public ip", "red"); Console.ReadKey(); @@ -229,7 +230,6 @@ static void Main(string[] args) NatUtility.DeviceFound += DeviceFound; NatUtility.StartDiscovery(); - exec_cmd("start cmd.exe /c taskkill /IM java.exe /f"); bool android = false; bool pro = false; @@ -291,7 +291,7 @@ static void Main(string[] args) sendmsg(" 88 ", "green"); sendmsg(" dP ", "green"); sendmsg(" | DuckSploit V1.0.9 | ", "green"); - sendmsg(" build version: _5 ", "yellow"); + sendmsg(" build version: _6 ", "yellow"); if (android == true) { diff --git a/hacker/windows/ds.exe b/hacker/windows/ds.exe index 64820d90cb8dd4cb12e9ed8834f4885480a63144..d6371440364e969e13ce583197b292546518dc10 100644 GIT binary patch delta 48 zcmV-00MGw`paX!Q1CWRUv(T}MNNxc(lR<4Wvj%TUBM|ja!J)D>3PryE;`53tpVG5n GlAt~L?G`)$ delta 48 zcmV-00MGw`paX!Q1CWRU+|IFzNNxc&lR<4Wvj%TUBM|9O$