Skip to content

Instantly share code, notes, and snippets.

View yujikosuga's full-sized avatar
🐈
"'/x/></title></script><x></x\

Yuji Kosuga "'/x=/></script></title><x><x/ yujikosuga

🐈
"'/x/></title></script><x></x\
View GitHub Profile
@yujikosuga
yujikosuga / error_wdk.txt
Created December 22, 2011 02:21
[WDK] error U1087: cannot have : and :: dependents for the same target
1>c:\winddk\7600.16385.0\bin\makefile.new(7117) : error U1087: cannot have : and :: dependents for same target
1>nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKE DIR_RELATIVE_TO_BASEDIR= failed - rc = 2
BUILD: Finish time: Fri Feb 12 16:04:14 2010
BUILD: Done
0 files compiled - 2 Errors
@yujikosuga
yujikosuga / scriptalert(8)script
Created February 17, 2012 13:41
"'><script>alert(7);//</script>
"'><script>alert(9);//</script>
@yujikosuga
yujikosuga / amazon_csrf.html
Created October 15, 2012 06:43
CSRF on Amazon
<html>
<body>
<form name="form" method="post" action="http://www.amazon.com/gp/registry/wishlist/ref=cm_wl_rlist_create">
<input type="hidden" name="dest-list" value="new-wishlist">
<input type="hidden" name="no-update" value="1">
<input type="hidden" name="movecopy" value="createnew">
<input type="hidden" name="sourceVendorId" value="website.wishlist.profile">
<input type="hidden" name="list-name" value="CSRFed">
<input type="hidden" name="isPrivate" value="N">
<input type="hidden" name="submit.movecopy.x" value="35">
@yujikosuga
yujikosuga / perl_regex_time.txt
Created January 25, 2016 00:58
Computation Time of ^(a+)+$ by Programming Language
# Perl Computation Time of ^(a+)+$
$ time perl -e 'print (("a"x100 . "b") =~ /^(a+)+$/)'
real 0m0.010s
user 0m0.003s
sys 0m0.004s
$ time perl -e 'print (("a"x1000 . "b") =~ /^(a+)+$/)'
real 0m0.011s
user 0m0.004s
#include <stdio.h>
#include <fstream>
#include <thread>
#include "public/common/AMFFactory.h"
#include "public/common/AMFSTL.h"
#include "public/common/Thread.h"
#include "public/common/TraceAdapter.h"
#include "public/include/components/VideoEncoderVCE.h"