Code Monkey home page Code Monkey logo

ptscripts's Introduction

Hi there ๐Ÿ‘‹

Averroes's GitHub stats

Averroes's GitHub stats

ptscripts's People

Contributors

averroes avatar lanmaster53 avatar

Watchers

 avatar

ptscripts's Issues

Dshashes.py broken due to ntdsxtract v1.2beta

What will reproduce the problem?
1. Run dshashes with datatable, linkable and system have to extract password 
hashes 

What is the expected output? What do you see instead?
Expected to run and print hashes. 
Exception raised. dsInitDatabase and dsInitLinks require 2 arguments in the 
latest version of ntdsxtract (dsESEFile and workdir). 

What version of the product are you using? On what operating system?
Ntdsxtract v1.2beta
Raspbian 

Please provide any additional information below.
Quick fix that worked for me:
db = dsInitDatabase(sys.argv[1], ".")
dl = dsInitLinks(sys.argv[2], ".")

Original issue reported on code.google.com by [email protected] on 4 Mar 2014 at 3:20

vssown.vbs /delete: id parameter is case-sensitive

What steps will reproduce the problem?
1. Use vssadmin to get a particular VSC id. Note that the id uses lower-case 
letters.
2. Pass that id to vssown.vbs /delete as the id argument. Notice that 
vssown.vbs does not try to delete the snapshot.


What is the expected output? What do you see instead?
The expected behavior is that vssown.vbs attempts to delete the shadow copy. 
Instead it does nothing.


What version of the product are you using? On what operating system?
The trunk release on code.google.com

Please provide any additional information below.

Here's the original code in the "delete" section:
  Case "/delete"
    id = args.Item(1)
    Set colItems = objWMIService.ExecQuery("Select * From Win32_ShadowCopy")
    For Each objItem in colItems
      if objItem.ID = id Then
        Wscript.Echo "[*] Attempting to delete shadow copy with ID: " & id
        errResult = objItem.Delete_
      ElseIf id = "*" Then
        Wscript.Echo "[*] Attempting to delete shadow copy " & objItem.DeviceObject & "."
        errResult = objItem.Delete_
      End If
    Next
    wscript.Quit(errResult)


Here's my patched version:
  Case "/delete"
    id = UCase(args.Item(1))
    Set colItems = objWMIService.ExecQuery("Select * From Win32_ShadowCopy")
    For Each objItem in colItems
        if UCase(objItem.ID) = id Then
        Wscript.Echo "[*] Attempting to delete shadow copy with ID: " & id
        errResult = objItem.Delete_
      ElseIf id = "*" Then
        Wscript.Echo "[*] Attempting to delete shadow copy " & objItem.DeviceObject & "."
        errResult = objItem.Delete_
      End If
    Next
    wscript.Quit(errResult)

Original issue reported on code.google.com by [email protected] on 5 Aug 2013 at 1:26

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.