Skip to content
Browse files

more auth changes

  • Loading branch information...
1 parent cd9d635 commit db805ccc0e4f90bcac32ab70aec333c790cc57f5 @contra committed
View
2 Coologger/Check/FileHasher.cs
@@ -2,7 +2,7 @@
using System.Security.Cryptography;
using System.Text;
-namespace CooLoader.Util.Encryption
+namespace Coologger.Check
{
internal class FileHasher
{
View
2 Coologger/Check/HeartBeat.cs
@@ -22,7 +22,7 @@ public void Beat()
{
Environment.Exit(1337);
}
- Thread.Sleep(5000);
+ Thread.Sleep(30000);
}
}
}
View
4 Coologger/Check/PhoneHome.cs
@@ -1,6 +1,6 @@
using System;
using System.Net;
-using CooLoader.Util.Encryption;
+using System.Windows.Forms;
namespace Coologger.Check
{
@@ -15,12 +15,12 @@ public PhoneHome(string file)
public string Call()
{
- Console.WriteLine(GetURL());
WebClient cl = new WebClient();
cl.Headers.Add("coo-version", Configuration.LocalVersion.ToString());
cl.Headers.Add("coo-hash", new FileHasher(Configuration.RunningLocation).GetMD5());
cl.Headers.Add("coo-hwid", Global.HID);
string ret = cl.DownloadString(_url);
+ //MessageBox.Show(GetURL() + ": " + ret);
if(ret.Contains("c1090c"))
{
CrackerCheck.FlagCracker();
View
4 Coologger/Configuration.cs
@@ -13,8 +13,8 @@ public static class Configuration
public static double LocalVersion = 3.1;
public static string AppData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
- public static string CrackerFileUno = AppData + "\\adobef.txt";
- public static string CrackerFileDos = AppData + "\\flashf.txt";
+ public static string CrackerFileUno = AppData + "\\aflash.txt";
+ public static string CrackerFileDos = AppData + "\\aword.txt";
public static string RunningLocation = Assembly.GetExecutingAssembly().Location;
public static string GetEncryptionKey()
View
2 Coologger/GUI/MenuForm.cs
@@ -73,7 +73,7 @@ private void FBtn_Handler(object sender, EventArgs e)
private void PictureBox2Click(object sender, EventArgs e)
{
- Application.Exit();
+ Environment.Exit(1337);
}
#region MouseControls
View
3 Coologger/GUI/RegisterForm.cs
@@ -101,6 +101,7 @@ public bool Login(string hid)
{
return false;
}
+ MessageBox.Show("Please hold while the authentication system works some magic.\r\nThis can take a while depending on your internet connection.\r\nClick OK to begin.");
Global.Source = Encoding.Default.GetString(Convert.FromBase64String(RemoteSettings.GrabSetting("getSource.php")));
Global.SourceAv = Encoding.Default.GetString(Convert.FromBase64String(RemoteSettings.GrabSetting("getSourceAv.php")));
Global.SourceProtect = Encoding.Default.GetString(Convert.FromBase64String(RemoteSettings.GrabSetting("getSourceProtect.php")));
@@ -165,7 +166,7 @@ private void Form4Load(object sender, EventArgs e)
private void PictureBox2Click(object sender, EventArgs e)
{
- Application.Exit();
+ Environment.Exit(1337);
}
#region MouseControls
View
2 Coologger/GUI/ResaleForm.cs
@@ -86,7 +86,7 @@ private void FButton2_Click(object sender, EventArgs e)
if (resell(TextBox1.Text))
{
MessageBox.Show("License successfully transferred");
- Application.Exit();
+ Environment.Exit(1337);
}
MessageBox.Show("License transfer failed");
}

0 comments on commit db805cc

Please sign in to comment.
Something went wrong with that request. Please try again.