Skip to content

STMCyber/PoShI

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

PoShI

A simple Java application vulnerable to PowerShell code injection under certain conditions (e.g., when executed on Japanese Windows) - see article on our blog page.

Build & run

Tested with OpenJDK 11 and Windows 10.

Go to PoShI directory and execute the following commands:

javac -d ./release PoShI.java StreamHandler.java
cd release
java -cp . -Dfile.encoding=UTF-8 PoShI

Examples

curl http://localhost:8000/date
curl http://localhost:8000/date?format=dd
curl http://localhost:8000/date?format=dd.MM.yyyy

About

A simple Java application vulnerable to PowerShell code injection under certain conditions (e.g. when executed on japanese Windows)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages