Skip to content

Instantly share code, notes, and snippets.

@Yousha
Yousha / .gitattributes
Created March 24, 2021 09:55
.gitattributes for assets/documents.
* text=auto
###### Git
.gitattributes text
.gitignore text
.gitconfig text
.gitmodules text
##### Windows
*.bat text eol=crlf
<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 / .gitignore
Last active May 18, 2021 06:14
.gitignore for PAWN developers.
##### Windows
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
@Yousha
Yousha / .gitattributes
Last active May 18, 2021 06:14
.gitattributes for PAWN developers.
* text=auto
###### Git
.gitattributes text
.gitignore text
.gitconfig text
.gitmodules text
##### Windows
*.bat text eol=crlf
@Yousha
Yousha / gamemode.pwn
Created August 30, 2018 06:46
Blank PAWN gamemode for SA-MP.
#include <a_samp.inc>
// Gamemode
public OnGameModeInit()
{
return 1;
}
main()
@Yousha
Yousha / .gitignore
Created March 24, 2021 10:14
.gitignore for assets/documents.
##### Windows
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
@Yousha
Yousha / filterscript.pwn
Created August 30, 2018 06:49
Blank PAWN filterscript for SA-MP.
#include <a_samp.inc>
#define FILTERSCRIPT
// Filterscript
public OnFilterScriptInit()
{
return 1;
}
@Yousha
Yousha / gist:0f022625ac5e7bb33aec45cddce2a583
Created June 16, 2020 08:59
Windows command payloads
`
||
|
;
'
'"
"
"'
@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