averroes / ptscripts Goto Github PK
View Code? Open in Web Editor NEWThis is a collection of useful penetration testing scripts.
This is a collection of useful penetration testing scripts.
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.