New Scripts in Webroot Paths
Get "Trace File Operations[unlimited, 1488479715768|1488483314768, 1, 0, 0, 10, .*\\wwwroot\\.*\.(asp|aspx|cfm|jsp|php), CreateNewFile, , , ]" from all machines
$AutoLoggerName = 'MyAMSILogger' | |
$AutoLoggerGuid = "{$((New-Guid).Guid)}" | |
New-AutologgerConfig -Name $AutoLoggerName -Guid $AutoLoggerGuid -Start Enabled | |
Add-EtwTraceProvider -AutologgerName $AutoLoggerName -Guid '{2A576B87-09A7-520E-C21A-4942F0271D67}' -Level 0xff -MatchAnyKeyword ([UInt64] (0x8000000000000001 -band ([UInt64]::MaxValue))) -Property 0x41 |
<html> | |
<head> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.9/semantic.min.css" /> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.9/semantic.min.js"></script> | |
<style> | |
body { | |
margin: 0; | |
padding: 0; |
"""Test how the Jinja templates""" | |
import os | |
import jinja2 | |
from jinja2.ext import Extension | |
class DependenciesExt(Extension): | |
"""This extension attempts to track the dependencies used in a template.""" | |
def filter_stream(self, stream): |
#!/usr/bin/env python | |
# Copyright 2015-present Palo Alto Networks, Inc | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
000stthk.exe|Toshiba Hotkey Configuration|NONE | |
007ssinstall.exe|007 Spy Software|NONE | |
00thotkey.exe|Toshiba Keyboard Helper|NONE | |
123downloadsuk[1].exe|123Mania Hijacker|NONE | |
12popup.exe|12Ghosts Popup-Killer|NONE | |
153.exe|??? Dialer.W32.153 ???|MALICIOUS_SOFTWARE | |
180sainstalleradperform.exe|180Solutions Zango|NONE | |
180sainstallernusac.exe|180SearchAssistant|NONE | |
1xconfig.exe|SCM MicroSystems Helper|NONE | |
2portalmon.exe|2wSysTray|NONE |
def template(html, **params): | |
import jinja2 | |
env = jinja2.Environment(loader=FileSystemLoader('')) | |
def tojson(s): | |
import json | |
return json.dumps(s) | |
env.filters['tojson'] = tojson |
body { | |
color: #212121; | |
font-family: "Helvetica Neue", "Calibri Light", Roboto, sans-serif; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
letter-spacing: 0.02em; | |
} |
<? | |
///////////////////// | |
// slack2html | |
// by @levelsio | |
///////////////////// | |
// | |
///////////////////// | |
// WHAT DOES THIS DO? | |
///////////////////// | |
// |