Code Monkey home page Code Monkey logo

mitigate's People

Contributors

moullos 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

Watchers

 avatar  avatar

mitigate's Issues

Proxy Authentication

Ran as local-admin, but behind an authenticated proxy and the "username or password is incorrect"
Can't elevate the domain user to "admin" in parts of our environment, have to use local accounts, or accounts that the auth-proxy won't be able to use.

Unhandled Exception: System.Security.Authentication.AuthenticationException: The user name or password is incorrect.
---> System.DirectoryServices.DirectoryServicesCOMException: The user name or password is incorrect.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
--- End of inner exception stack trace ---
at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
at Mitigate.SystemUtils.IsDomainJoined()
at Mitigate.Program.Main(String[] args)

Trouble Compiling in VS 2015

These are the errors I get, "domain" is defined in the first few
1>------ Rebuild All started: Project: Mitigate, Configuration: Debug Any CPU ------
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(47,111,47,117): error CS1003: Syntax error, ',' expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(69,114,69,120): error CS1003: Syntax error, ',' expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(88,98,88,101): error CS1003: Syntax error, ',' expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(97,97,97,101): error CS1003: Syntax error, ',' expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(97,110,97,113): error CS1525: Invalid expression term 'int'
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(97,114,97,119): error CS1003: Syntax error, ',' expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(229,35,229,37): error CS1002: ; expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(229,35,229,37): error CS1519: Invalid token '=>' in class, struct, or interface member declaration
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(229,38,229,45): error CS1520: Method must have a return type
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(229,46,229,51): error CS1041: Identifier expected; 'false' is a keyword
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(276,26,276,30): error CS1031: Type expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(276,26,276,30): error CS1026: ) expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(276,30,276,31): error CS1002: ; expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(276,30,276,31): error CS1513: } expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(296,26,296,30): error CS1031: Type expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(296,26,296,30): error CS1026: ) expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(296,30,296,31): error CS1002: ; expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(296,30,296,31): error CS1513: } expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(299,29,299,33): error CS1031: Type expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(299,29,299,33): error CS1026: ) expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(299,33,299,34): error CS1002: ; expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(299,33,299,34): error CS1513: } expected
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

P.S. Telegram is the worst way to contact anyone.

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.