4 Commits

Author SHA1 Message Date
Nexus
c844d8f17e Update README.md 2022-05-08 23:17:18 +01:00
Nexus
91cb7d5a54 Update README.md 2022-05-08 23:17:07 +01:00
Nexus
f1dfd5ba42 Update README.md 2022-05-08 23:16:52 +01:00
Nexus
938300045c Create README.md 2022-05-08 23:16:19 +01:00
3 changed files with 12 additions and 20 deletions

View File

@@ -11,12 +11,10 @@ namespace api
{ {
public static void ProfileSteal(string data) public static void ProfileSteal(string data)
{ {
List<Root> profile = JsonConvert.DeserializeObject<List<Root>>(data); List<Root> profile = JsonConvert.DeserializeObject<List<Root>>(data);
File.WriteAllText("SaveData\\Profile\\username.txt", profile[0].username); File.WriteAllText("SaveData\\Profile\\username.txt", profile[0].username);
byte[] profileimage = new WebClient().DownloadData("https://img.rec.net/" + profile[0].profileImage + "?cropSquare=true&width=192&height=192"); byte[] profileimage = new WebClient().DownloadData("https://img.rec.net/" + profile[0].profileImage + "?cropSquare=true&width=192&height=192");
File.WriteAllBytes("SaveData\\profileimage.png", profileimage); File.WriteAllBytes("SaveData\\profileimage.png", profileimage);
} }
public class Root public class Root

View File

@@ -263,7 +263,7 @@ namespace start
Console.WriteLine("Failed to download profile..."); Console.WriteLine("Failed to download profile...");
goto Start; goto Start;
} }
;
List<ProfieStealer.Root> profile = JsonConvert.DeserializeObject<List<ProfieStealer.Root>>(data); List<ProfieStealer.Root> profile = JsonConvert.DeserializeObject<List<ProfieStealer.Root>>(data);
byte[] profileimage = new WebClient().DownloadData("https://img.rec.net/" + profile[0].profileImage + "?cropSquare=true&width=192&height=192"); byte[] profileimage = new WebClient().DownloadData("https://img.rec.net/" + profile[0].profileImage + "?cropSquare=true&width=192&height=192");
File.WriteAllBytes("SaveData\\profileimage.png", profileimage); File.WriteAllBytes("SaveData\\profileimage.png", profileimage);
@@ -317,9 +317,7 @@ namespace start
Console.WriteLine("Failed to download profile..."); Console.WriteLine("Failed to download profile...");
goto Start; goto Start;
} }
ProfieStealer.ProfileSteal(data2); ProfieStealer.ProfileSteal(data2);
Console.Clear(); Console.Clear();
Console.WriteLine("Success!"); Console.WriteLine("Success!");
goto Start; goto Start;
@@ -405,7 +403,7 @@ namespace start
} }
} }
public static string version = ""; public static string version = "";
public static string appversion = "0.6.9"; public static string appversion = "0.7.0";
public static bool bannedflag = false; public static bool bannedflag = false;
} }

View File

@@ -99,17 +99,13 @@ namespace start
goto tryagain; goto tryagain;
tryagain: tryagain:
if (!File.Exists("SaveData\\Rooms\\Downloaded\\roomname.txt")) try
{ {
try api.CustomRooms.RoomGet("gizmoface");
{ }
api.CustomRooms.RoomGet("gizmoface"); catch
} {
catch goto tryagain;
{
goto tryagain;
}
} }
Console.WriteLine("Done!"); Console.WriteLine("Done!");
Console.Clear(); Console.Clear();