Skip to content

rvrsh3ll/Get-Writable

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get-Writable

Searches for directories that contain a world writable .exe, a .dll, script file (.ps1, .bat, .sct, .cmd), or a .sys file.

Usage

Get-Writable.exe <path to start search>

Example:

Get-Writable.exe "C:\\"
(dll+exe),C:\Program Files (x86)\GOG Galaxy\Games\Tooth and Tail
(dll),C:\Program Files (x86)\GOG Galaxy\Games\Tooth and Tail\fr
...(snip)...

Most of the output should be straight forward. (exe), C:\Directory means that the directory contains a writable exe, and so on. If you see (directory+exe), C:\Directory, that means that there were no files discovered that were writable, but that the USERS or EVERYONE groups have write permissions to the directory, meaning you can write arbitrary files to the directory but can't change the files that are already there. This could represent an opportunity for a DLL sideloading when those discovered exes are executed.

About

Find world writable directories that contain a .exe or .dll file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%