text_chunk
stringlengths
151
703k
##Dictator (Recon, 300p) Your simple good Deeds can save you but your GREED can kill you. This has happened before. This greedy person lived a miserable life just for the greed of gold and lust. You must know him, once you know him, you must reach his capital and next clues will be given by his famous EX-Body Guar...
##Gurke (Misc, 300p) ###PL[ENG](#eng-version) Na serwerze działa [skrypt](gurke.py) który odbiera od nas wiadomość a następnie deserializuje ją za pomocą pickle. Z kodu wynika, że w pamięci wczytana jest flaga pobrana z socketu a my mamy dość spore ograniczenia jeśli chodzi o wołanie funkcji kernela. Pickle pozwala na ...
## dub-key (crypto, 120p) > My friend set up a small signing scheme, however she won't let me sign stuff. Can you get it signed?>> Find it at dub-key-t8xd5pn6.9447.plumbing port 9447>> [dub-key.py](dub-key.py) ###PL[ENG](#eng-version) Rozpoczeliśmy od analizy algorytmu podpisywania i jego własności(w skrócie - podpisyw...
[](ctf=hackover-2015)[](type=web)[](tags=headers)[](tools=burp-proxy) # hack-the-planet (web-50) ```Hacking a site is basic task for any skilled hacker.Methods range from brute force to talking to people.No matter which method you choose, don't forget to use head. HINT: His question is the answer http://hack-the-planet...
# Sharif University CTF 2016 : We lost the Fashion Flag! **Category:** Forensics**Points:** 100**Solves:** 132**Description:** > In Sharif CTF we have lots of task ready to use, so we stored their data about author or creation date and other related information in some files. But one of our staff used a method to store...
## SQL (Pwn, 150p) > Our website executes your PostgreSQL queries. And flags are nicely formatted. ###ENG[PL](#pl-version) We are given address of webpage that executes our queries on CTF database. There is flag we are looking for in that database. Looks like that challenge is trivial, doesn't it? ![](screen.png) Unf...
## uagent (Forensics, 100p) We think we are really cool, are we?[Download](ragent.pcap) ###ENG[PL](#pl-version) We start off with a pcap file, a file is begin downladed throughout some packets, let's export them by filtering them out and using File->Export Objects->Http ![screen1](screen1.png) The packets are generall...
## Interpolation (Reverse, 200p) NEWTON is an autonomous unmanned aerial vehicle (UAV). Where the UAV is refueled at t=180 ? Path planning: t x y 0; 35.645592; 50.951123; 20; 35.144068; 50.467725; 40; 34.729775; 48.204541; 60; 34.204433; 46.117139; 80; 33.602623; 44.908643; 100; 33.162285; ...
# CatchMeIfYouCan > We got this log which is highly compressed. Find the intruder's secret. In this task we got a file that is compressed many times using various compression algorithms. Thankfully `file` comamndrecognizes all of them, which enables us to write a generic decompression script (`decompress.sh`). On the f...
## Kiuar (pwn, 200p) telnet ctf.sharif.edu 12432 ###ENG[PL](#pl-version) First thing we receive in this task is request for proof of work - so we had to write a quick script calculating it for us.After submitting it, we receive some non-ASCII bytes and a message telling us we have 10s to reply. Saving those unknown...
## URE (Crypto, 100p) Universal ReEncryption ###ENG[PL](#pl-version) We have to change ciphertext in such way, that after decrypting plaintext is unchanged: ![](task.png) We need to think about what task authors really want from us - in mathematical terms. `r` and `s` are random numbers, so if we substitute them w...
# Hiding In Plain Sight. > Find out the secret key hidden in these packets! We got three pcap files containing only ICMP packets. Extracting data from it, we get gibberish data. After trying randomthings on it, we found that rotating each byte by 42 (binary Caesar cipher), we get ASCII text - mostly non-letters, but at...
## Fake 150 (re, 150p) ### PL[ENG](#eng-version) Dostajemy [program](./fake) (elf), do analizy, i rozpoczynamy od zdekompilowania go: int main(int argc, char **argv) { v = 0; vv = (v >> 19); vvv = (v >> 63); if (argc > 1) { v = strtol(argv[1], 0, 10); } uint6...
## Dumped (Forensics, 100p) In Windows Task Manager, I right clicked a process and selected "Create dump file". I'll give you the dump, but in return, give me the flag! Download RunMe.DMP.xz ###ENG[PL](#pl-version) Running `strings RunMe.DMP | grep Sharif` against this file gives us flag. ###PL version Wystarcz...
## Android (Reverse, 100p) > Find the Flag!!> [Download](Sharif_CTF.apk) ###ENG[PL](#pl-version) We download android application given to us by challenge creators.First think we do is packing it into java decompiler (http://www.javadecompilers.com/apk). Most of code is boring and uninteresting, but one of functions is...
## Hail Zeus (Crypto, 300p) > Asking Hermes to gath'r intel on the foe, he recover'd the blueprint of their transmitt'r bef're> getting captur'd. It’s been ov'r a month of radio silence. but wait... all hail Zeus, as they restart'd> communication when he strok'd them with a lightning: ###ENG[PL](#pl-version) Although...
# CSAW Finals 2015: randsomewhere - Forensics 300 For this challenge, we are given an image file called `randsomewhere.img` Running `file` reveals that this is a DOS boot sector ```bash$ file randsomewhere.img randsomewhere.img: DOS/MBR boot sector``` To look at the files inside, I opened the image with testdisk: ![alt...
## Rail Fence Cipher (Crypto, 50p) Decrypt and find the flag. AaY--rpyfneJBeaaX0n-,ZZcs-uXeeSVJ-sh2tioaZ}slrg,-ciE-anfGt.-eCIyss-TzprttFliora{GcouhQIadctm0ltt-FYluuezTyorZ- ###ENG[PL](#pl-version) The name of this task was everything we needed to know to solve it. Using[this site](http://rumkin.com/tools/cipher...
## Serial (Reverse, 150p) Run and capture the flag! Download serial ###ENG[PL](#pl-version) We were given a binary, asking for a serial and telling us whether it's correct. Disassembling it gave a weird result - for example:```0x00400a2c je 0x400a3c0x00400a2e mov ax, 0x5eb0x00400a32 xor eax, eax0...
##Kick Tort Teen (Forensics, 50p) Anagram, anyone?[Download](data.xls) ###ENG[PL](#pl-version) We start by converting the xls file to csv. Then we load up the values into a python script that counts the number occurences: ```pythonoccurences = []for i in range(1000): occurences.append(0) for y in data: for x in y: occ...
# PhotoBlog ## Task A friend of mine have stolen my cat's picture on his blog. I want to login as admin user on his blog. Do you have any idea? ## Solution The website to pown is a photoblog where you can add comments on a cat picture. By posting comments such as `<script>alert(123)</script>` we notice that there is an...
## Asian Cheetah (Misc, 50p) We have hidden a message in png file using jar file. Flag is hidden message. Flag is in this format: SharifCTF{flag} Download cheetah.tar.gz ###ENG[PL](#pl-version) In this task we had an image and a Java program used to hide flag in it. Decompiling the program allows us to noti...
## SecCoding (Misc, 100p) > You should fix vulnerabilities of the given source code, WITHOUT changing its normal behaviour. Link ###ENG[PL](#pl-version) We are given following code, and are tasked with repairing bugs and vulnerabilities in it: ```cpp#include <vector>#include <iostream>#include <windows.h> using names...
# Memdump (Forensics, 400) > We trying to capture the flag too! But that's what it left for us. In this task we ware given a memdump2.xz containing about 132MB During the searching file I found interesting line:```echo =owY1JHbg0ycggGd0BnOv8SN04SM4MjL1MjL1IzLqt0TwF3b | rev | openssl enc -a -d | rev | . /dev/stdin > /tm...
## URE ### Problem * Let p be a prime, and g be an element of ℤp of prime order q.* Let x ∈ ℤq be the private key, and h = gx (mod p) be the public key.* To encrypt a message m ∈ ℤ*p, pick two random values r, s ∈ ℤq, and compute the ciphertext as follows: - (a, b, c, d) = (g^r, h^r, g^s, mh^s). * Download a valid ciph...
# Sharif University CTF 2016 : Kick Tort Teen **Category:** Forensics**Points:** 50**Solves:** 120**Description:** > Anagram, anyone?>> Download [data.xls](./data.xls) ## Write-up by [Jashan Bhoora](https://github.com/jashanbhoora) Upon opening the Excel file we are given, we are presented with a 23x14747 spreadsheet o...
# Writeup for hackme WEB (400) > Solves: 48> > Hack me, please The website contain only login form, without any other suspected content, so first impulse, sql injection. ![Screenshot_1.png](Screenshot_1.png) We have seen only one returned value `User Name or Password incorrect` if sql query was correct. Checked time ba...
### Photo Blog - web 100`Log in as admin` #ENThis task has web interface that allow us to comment. As suggested in task description, we found `/admin.php`and `/login.php`. ![](https://raw.githubusercontent.com/tuvshuud/1up/master/SharifCTF2016/photoblog100/shot3.png)![](https://raw.githubusercontent.com/tuvshuud/1up/ma...
## danklang (re, 100p) > if you see this task while scroling>> you have been visited by the reversing task of the 9447 ctf> good flags and points will come to you>> but only if you submit '9447{`dankcode main.dc`}' to this task. >> [main.dc](main.dc) ###PL[ENG](#eng-version) Przepełnione memami zadanie (co widać nawet ...
# Break In 2016 - Go To The Scoreboard **Category:** Web**Points:** 20**Solves:** 127**Description:** > If you aren't on the Score Board this question is for you! :D ## Write-up by [ParthKolekar](https://github.com/ParthKolekar) The question had a html comment in the source of the page Enter the flag, and you are goo...
from pwn import *from hashlib import *import zlibimport qrcode# context.log_level = 'debug'#task: telnet ctf.sharif.edu 12432 HOST = "ctf.sharif.edu"PORT = 12432 def create_qrcode(cmd): qr = qrcode.QRCode(version = 1 , error_correction=qrcode.constants.ERROR_CORRECT_L, box_size = 1, border = 1 ...
# Break In 2016 - Crypto-Numbero **Category:** Crypto**Points:** 100**Solves:** 7**Description:** > 2499297611577320201615561210091254408716945025490751449882196993246129687093135023402769667321286456212828887055088408585669480231306062229648019774463168231592812563293535592208585090630846715052699320061621897314349478...
#!/usr/bin/env python2.7# @skusec '''Assumption: randomness of the permutations results in cycles of size < 50(will not always be the case). Start the cycle at the slot we are seeking,so start at the i-th slot in round i, and hope for the best.''' import websocketimport os, sys, reimport subprocessimport shleximport lo...
# SharifCTF 2016 Smooth As Silk 200 python -m primefac 1146153281852525177586999436995662832543747851048527273041984332051794060180859755292562945179561199037265156877018187228259030989418781509119164991483327480541943252538623487647730747233702696674540850700400094811219197377709040755816201855894559669132290940430742...
# Break In 2016 - Knock Knock **Category:** Networking**Points:** 200**Author:** Parth Kolekar (aka SprinkleberryMuffin)**Solves:** 5**Description:** > Find the flag.>> <script>> setTimeout(function(){> $.ajax({> 'url' : '',> success: function(){ window.location = '' },> ...
# Break In 2016 - You Can(t) See Me **Category:** Steganography**Points:** 100**Solves:** 80**Description:** > On the wonderland of britannia, there are two kinds of dragons Red and Black.> Master Zero is the commander of blacks and all the black dragons support him. > The Red dragons' leader Amiya thinks that the Reds...
# Break In 2016 - make_pair **Category:** Steganography**Points:** 200**Solves:** 5**Description:** > If you add the rainbow and get a couple, then you are good to go else you need one more.> > ![Attached Image](image.png) ## Write-up by [ParthKolekar](https://github.com/ParthKolekar) As the question suggests, if you a...
# Break In 2016 - Bots are Awesome! **Category:** golang, irc, git**Points:** 100**Solves:** 38**Description:** > Aren't they awesome ! ## Write-up by [ParthKolekar](https://github.com/ParthKolekar) The bot in question was on the IRC channel. The bot was an instance of goircbot named teehee bot. The bot would respond ...
# Break In 2016 - Ethernet Patched Transmission **Category:** Networking**Points:** 200**Author:** networ-k-ing**Solves:** 6**Description:** > Seems like someone intercepted and altered the frames. Can you patch it?> > >>Ingress>>> 0x0000: 35 02 d2 d2 d2 d2 64 c4 14 74 02 94 08 00 45 00> 0x0010: 00 3c a...
# Programming (Pretty much _"Recon"_) ##Programming 1**Q: So you reached Delhi and now the noise in your head is not allowing you to think rationally. The Nosise in your head has origin its Origin in your Stomach. And this is a big hunger. You can finish one or probably 2 Tandoori Chicken. So where can you get the best...
# fireblossom (misc 150) there were 2 files provided fireblossom: for setting up a jail + sandbox, then runs fireblossom-claypot fireblossom-claypot: for executing your shellcode fireblossom debugs fireblossom-claypot, checking that whenever the open syscall is executed, the file being read is not "/flag" to bypass thi...
# Programming (Pretty much _"Recon"_) ##Programming 1**Q: So you reached Delhi and now the noise in your head is not allowing you to think rationally. The Nosise in your head has origin its Origin in your Stomach. And this is a big hunger. You can finish one or probably 2 Tandoori Chicken. So where can you get the best...
## puzzleng - Forensic 250 Problem - Writeup by Robert Xiao (@nneonneo) ### Description > Next Generation of Puzzle!> > puzzleng-edb16f6134bafb9e8b856b441480c117.tgz ### Solution We're given a small file encrypted with the provided binary. Reversing the binary shows that the encryption algorithm is basically pw = s...
# Exp60 ## Description```We are given an IP address and a port to connect to, upon connecting we are asked to solved the following equation: X > 1337 X * 7 + 4 = 1337``` ## Solution It is pretty obvious that we to do an integer overflow, after some manual testing I used the following dirty C code: ```#include <stdio.h>...
# Programming (Pretty much _"Recon"_) ##Programming 1**Q: So you reached Delhi and now the noise in your head is not allowing you to think rationally. The Nosise in your head has origin its Origin in your Stomach. And this is a big hunger. You can finish one or probably 2 Tandoori Chicken. So where can you get the best...
# Break In 2016 - Oops **Category:** Web**Points:** 50**Solves:** 35**Description:** > <style></style> (this line is escaped)> <script src="https://felicity.iiit.ac.in/contest/breakin/static/jquery.min.js"></script> ## Write-up by [ParthKolekar](https://github.com/ParthKolekar) The content of the attached jquer...
## The Secret Store (Web, 70p) Description: We all love secrets. Without them, our lives would be dull. A student wrote a secure secret store, however he was babbling about problems with the database. Maybe I shouldn't use the 'admin' account. Hint1: Account deletion is intentional. Hint2: I can't handle long user...
## Crypto-Pirat (Crypto, 50p) Did the East German Secret Police see a Pirat on the sky? Help me find out! Hint: We had 9 planets from 1930–2006... Hint2: Each planet has a number. (There's a table on a well-known website). After that you might be interested in ciphers used by the secret police. [attachment](cipher...
# HackIM CTF 2016 : Exploit 100 **Category:** exploit |**Name:** pinkfloyd |**Solves:** ? |**Description:** > 52.72.171.221 9981 ___ ## Write-up This was a fun since it was my first ARM exploit :) ### Step 0: war of information $ file pinkfloyd pinkfloyd: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), s...
# Break In 2016 - Three Thieves Threw Trumpets Through Trees **Category:** Steganography**Points:** 100**Solves:** 70**Description:** > Link: [Here](image1.jpg) ## Write-up by [ParthKolekar](https://github.com/ParthKolekar) The question contains a link to an `image` which is not an image at all.`file` command show that...
# Break In 2016 - I have the power **Category:** Web**Points:** 100**Solves:** 30**Description:** > Go to the right places and don't make any mistakes.>> (Right Places is a link to the contest page) ## Write-up by [ParthKolekar](https://github.com/ParthKolekar) The request handler source code (in python) is as follows ...
# PHP Golf ## Problem Johnny B. Krad from your local schoolyard gang still thinks that you are a poser! Even if you could beat him in Perl golf, you probably can't in PHP golf... [Link](https://school.fluxfingers.net:1521/golf/php/) ## Solution Credit: [@emedvedev](https://github.com/emedvedev), [@johndearman](https://...
[](ctf=tum-ctf-teaser-2015)[](type=crypto)[](tags=hash-length-extension-attack)[](tool=hashpump) # bad_apple (crypto 15) ```Baby's 1st ctf.link/assets/downloads/cry/bad_apple.tar.xz try: ncat 1.ctf.link 1027 < good.binexpect: "hello"``` We are given a [tar archive](../bad_apple.tar.xz)It has a python file which i...
Slabs of Platinum Crypto 500 You showed great skill with the last target! But we have found the encrypted image and remnants of an even more complex encryption scheme.Can you help us? -Trail of Bits (quend) slabs_of_platinum_7f07f420a08ea404b88c4888f23c70e3real_hackers_use.sage_2f88c5095680fd3bb890bfc088ea6852 Alright,...
# Writeup for TexMaker (WEB90) (90) > Solves: 183> Description: Creating and using coperate templates is sometimes really hard. Luckily, we have a webinterace for creating PDF files. Some people doubt it's secure, but I reviewed the whole code and did not find any flaws.> Service: https://texmaker.ctf.internetwache.org...
## It's Prime Time! (PPC, 60p) Description: We all know that prime numbers are quite important in cryptography. Can you help me to find some? ###ENG[PL](#pl-version) The server sends input as: Hi, you know that prime numbers are important, don't you? Help me calculating the next prime! Level 1.: Find the next prime ...
## Dark Forest (PPC, 90p) Description: Someone pre-ordered a forest and now I'm lost in it. There are a lot of binary trees in front and behind of me. Some are smaller or equal-sized than others. Can you help me to invert the path and find out of the forest? Hint: It's about (inverted) BSTs. Don't forget the space...
# Writeup for Replace with Grace (WEB60) (60) > Solves: 248> Description: Regular expressions are pretty useful. Especially when you need to search and replace complex terms.> Service: https://replace-with-grace.ctf.internetwache.org/ The website contain form with 3 inputs ![web601.png](web601.png) looked like sending ...
# Writeup for 0ldsk00lBlog (WEB80) (80) > Solves: 243> Description: I stumbled across this kinda oldskool blog. I bet it is unhackable, I mean, there's only static HTML.> Service: https://0ldsk00lblog.ctf.internetwache.org/ Website looked like blog in html only, without any php/js etc. Content highlighted the informati...
# Exp60 ## Description```We are given an IP address and a port to connect to, upon connecting we are asked to solved the following equation: X > 1337 X * 7 + 4 = 1337``` ## Solution It is pretty obvious that we to do an integer overflow, after some manual testing I used the following dirty C code: ```#include <stdio.h>...
# Exp70 ## Description```We are given an IP address and a port to connect to and the C code of the service running on the specified socket``` ## Solution From the C code and the way the variables are declared, combined with how the flag is read from the user input, we can deduce that we will have to overflow the buffer...
## Brute with Force (PPC, 80p) Description: People say, you're good at brute forcing... Have fun! Hint: You don't need to crack the 31. character (newline). Try to think of different (common) time representations. Hint2: Time is CET ###ENG[PL](#pl-version) Server sends input as: Hint: Format is TIME:CHAR Char 0: ...
# IWCTF 2016 - Exploit - Remote Printer - 80 pts > Description: Printer are very very important for offices. Especially for remote printing. My boss told me to build a tool for that task.>> Attachment: [exp80.zip](exp80.zip)>> Service: 188.166.133.53:12377 # Write-up Connecting to the specified address, we get an inte...
## We lost the Fashion Flag! (Forensics, 100p) In Sharif CTF we have lots of task ready to use, so we stored their data about author or creation date and other related information in some files. But one of our staff used a method to store data efficiently and left the group some days ago. So if you want the flag fo...
# Exp80 ## Description```We are given an IP address and a port to connect to and a binary file which is the binary run by the service``` ## DisclaimerThis is a very quick write-up and assume basic knowledge of the technique used in the exploitation. I also won't detail how the reversing was done ## Solution The file is...
# ASIS Cyber Security Contest Quals 2014: Archaic **Category:** Crypto**Points:** 300**Description:** > [file](crypto_300_5e5d1adf0bb2ca58131ca28878a4b907) ## Write-up I started to 'crack' this challenge long after the CTF but luckily for us this challenge is completely offline. You get everything you need from the [gi...
# IWCTF 2016 - Misc - 404 Flag not found - 80 pts > Description: I tried to download the flag, but somehow received only 404 errors :( Hint: The last step is to look for flag pattern.>> Attachment: [misc80.zip](misc80.zip) # Write-up The attachment contained a traffic capture with multiple DNS requests to the ctf site ...
# IWCTF 2016 - Reversing - SPIM - 50 pts > Description: My friend keeps telling me, that real hackers speak assembly fluently. Are you a real hacker? Decode this string: "IVyN5U3X)ZUMYCs">>Attachment: [rev50.zip](rev50.zip) # Write-up The attachment contains a MIPS disassembly of the decoding algorithm: ```shell$ cat R...
## A numbers game II (PPC/Crypto, 70p) Description: Math is used in cryptography, but someone got this wrong. Can you still solve the equations? Hint: You need to encode your answers. ###ENG[PL](#pl-version) Server sends input as: Hi, I like math and cryptography. Can you talk to me?! Level 1.: 4.4.5.3.3.3.3.3.3.3....
# misc60 - 'Quick Run' > Someone sent me a file with white and black rectangles. I don't know how> to read it. Can you help me? > Attachment: Download [misc60.zip](./misc60.zip) After opening up misc60.zip inside **README.txt** we're greeted with huge strings of repetitive letters. Without spamming the page, here...
# misc80 - '404 flag not found' > I tried to download the flag, but somehow received only 404 errors :( > Attachment: [misc80.zip](./misc80.zip) Once we open up the .zip, we're greeted with yet another **.pcapng file** . Let's open that up. ![pcap](http://i.imgur.com/gbzY52b.png) All of these packets are really rea...
## High-speed RSA Keygen (Crypto, 150p) See the attached files. Download RSA-Keygen.tar.gz ###ENG[PL](#pl-version) We were given a ciphertext, a key generator written in Python and a public key generated by that script - so the challengeis to decrypt the ciphertext using only the public key.Looking at the scrip...
# rev60 - 'File Checker' > My friend sent me this file. He told that if I manage to reverse it, I'll> have access to all his devices. My misfortune that I don't know anything> about reversing :/ > Attachment: [rev60.zip](./rev60.zip) Once we open up [rev60.zip](./rev60.zip) we notice that we get a file called '...
__BreakIn 2016 :: Bots are Awesome!__================================== _John Hammond_ | _Sunday, January 24, 2016_ > Aren't bots awesome!. ---------- This challenge was not very clear -- at all -- at what it was meant to be; you had to be in the [IRC] channel to even realize there was a 'bot', and it was an "[IRC] bo...
# IWCTF 2016 - Exploit - EquationSolver - 60 pts > Description: I created a program for an unsolveable equation system. My friend somehow forced it to solve the equations. Can you tell me how he did it?>> Service: 188.166.133.53:12049 # Write-up The service shows a static equation (it's always the same) and asks us t...
# Writeup for Bank CRYPTO (90) > Description: Everyone knows that banks are insecure. This one super secure and only allows only 20 transactions per session. I always wanted a million on my account. ![crypto90.zip](crypto90.zip) I started analysing behaviour of the given script b@x:~/Desktop/task > python bank.py ...
# 0ldsk00lBlog (Web, 80pts) --- ## Problem Description: I stumbled across this kinda oldskool blog. I bet it is unhackable, I mean, there's only static HTML. Service: https://0ldsk00lblog.ctf.internetwache.org/ ## Solution The page is a very simple static HTML: ![Blog page](0ldsk00lblog_01.png) No _robots.txt_, no _adm...
# Internetwache CTF 2016 : Eso Tape **Category:** Reversing**Points:** 80**Solves:** 69**Description:** > Description: I once took a nap on my keyboard. I dreamed of a brand new language, but I could not decipher it nor get its meaning. Can you help me? Hint: Replace the spaces with either '{' or '}' in the solution. H...
# Programming (Pretty much _"Recon"_) ##Programming 1**Q: So you reached Delhi and now the noise in your head is not allowing you to think rationally. The Nosise in your head has origin its Origin in your Stomach. And this is a big hunger. You can finish one or probably 2 Tandoori Chicken. So where can you get the best...
# Rock With The Shark (Misc, 70pts) --- ## Problem The shark won't bite you. Don't worry, it's wired! ## Solution We get _pcap_ file with some HTTP transmission. Using Wireshark we can extract _flag.zip_ file, which is secured by password. When we take a look closer at one of HTTP request and response, we find HTTP Bas...
# IWCTF 2016 - Exploit - Sh-ock - 90 pts > Description: This is some kind of weird thing. I am sh-ocked. > Service: 188.166.133.53:12589 # Write-up After connecting to the specified service, we'll get a prompt looking like a shell at first. But after trying some commands, it gets obvious, that this ain't your normal s...
# HackIM RE 1 ZorroPub - 100pts >ZorroPub ## Write-up This was an interesting challenge and took a bit longer than I expected, mostly because I couldn't find a decent implementation of the glibc `rand()/srand()` functions anywhere, so I ended up just firing up a Linux VM (the lazy is strong with me). Firing up the prog...
# Unicle (Web, 200pts) ## Problem OSaaS is the new trend for 2016! Store your object directly in the cloud. Get rid of the hassle of managing your own storage for object with Osaas. Unickle currently offers a beta version that demonstrates how OSaaS will make the internet a better place... One object at a time!! http:/...
### misc 300 - Know India It's question-and-answer programming challenge about India. We wrote simple python script to answer all the questions.```python# -*- coding: utf8 -*-import sockets = socket.socket()host = '52.91.163.151'port = 10101 s.connect((host, port)) answers = ['tamil', 'english', 'kumbh mela', 'electron...
# Kick Tort Teen ## Task Anagram, anyone? ## Solution We are given an xls document containing numbers.If we unzip it, we can see that there are VBA macros. ```mac:xl rainbowlyte$ ls -latotal 88drwxr-xr-x@ 8 rainbowlyte wheel 272 Feb 7 17:11 .drwxrwxrwt 15 root wheel 510 Feb 7 17:11 ..drwxr-xr-x@ 3 rainbo...
# Internetwache CTF 2016 : Bank **Category:** Crypto**Points:** 90**Solves:** 79**Description:** > Description: Everyone knows that banks are insecure. This one super secure and only allows only 20 transactions per session. I always wanted a million on my account.> > > Attachment: [crypto90.zip](./crypto90.zip)> > > Se...
import requestsfrom hashlib import * TARGET = "http://ctf.sharif.edu:36455/chal/sql/"session = requests.Session() def get_Nonce(): get_request = session.get(TARGET) start = get_request.text.find("Nonce:") + len("Nonce: ") fin = get_request.text.find("") - 1 return get_request.text[start:fin] def get_pow(nonce , max): ...
![image](https://github.com/Veneno0/CTFwp/blob/master/Internetwache-CTF-2016/Web80/2885962034.jpg)Clicking on the link![image](https://github.com/Veneno0/CTFwp/blob/master/Internetwache-CTF-2016/Web80/2563772299.jpg)We will find the hint is git![image](https://github.com/Veneno0/CTFwp/blob/master/Internetwache-CTF-2016...
__BreakIn 2016 :: You Can(t) See Me__================ _John Hammond_ | _Sunday, January 24, 2016_ > Honestly I do not have the challenge prompt or description. I will try to add it the moment I am able to retrieve it (it is currently not online). ---------- Admittedly, this challenge took a little bit of thought (thou...
# Internetwache CTF 2016 : Oh Bob! **Category:** Crypto**Points:** 60**Solves:** 167**Description:** > Description: Alice wants to send Bob a confidential message. They both remember the crypto lecture about RSA. So Bob uses openssl to create key pairs. Finally, Alice encrypts the message with Bob’s public keys and sen...
[](ctf=internetwasche-ctf-2016)[](type=exploit)[](tags=format string)[](tools=libformatstr)[](techniques=format string) # Remote Printer (exp-80) >Description: Printer are very very important for offices. Especially for remote printing. My boss told me to build a tool for that task. >Attachment: exp80.zip >Service: 188...
# Internetwache CTF 2016## Rev50 - SPIM ### Task description:*My friend keeps telling me, that real hackers speak assembly fluently. Are you a real hacker? Decode this string: "IVyN5U3X)ZUMYCs"* ### Solution:We're given some assembly code along the task description. A quick search for "SPIM" reveals that it's a MIPS32 ...
# Internetwache 2016 : Crypto (80) **Category:** crypto |**Points:** 80 |**Name:** Procrastination |**Solves:** 74 |**Description:** > Watching videos is fun! Hint: Stegano skills required.>> Link: > https://procrastination.ctf.internetwache.org ___ ## Write-up We got rick rolled by the website link. It gave us a 30 se...
## Giraffe's Coffee - Web 300 Problem - Writeup by Robert Xiao (@nneonneo) ### Description> Find the flag!> http://52.69.0.204 ### Solution First thing we do is go to View Source, which tells us to go look at the source code at `index.phps`. Although the web interface only lets you register and login, the source code s...
## SecCoding 2 (Misc, 300p) > You should fix vulnerabilities of the given source code, WITHOUT changing its normal behaviour. Link ###ENG[PL](#pl-version) We are given following code, and are tasked with repairing bugs and vulnerabilities in it: ```cpp#include <math.h>#include <stdio.h>#include <windows.h> int main(i...
##Xor with static key (Crypto, 500p) You are in this GAME. A critical mission, and you are surrounded by the beauties, ready to shed their slik gowns on your beck. On onside your feelings are pulling you apart and another side you are called by the duty. The biggiest question is seX OR success? The signals of sub...
# Internetwache 2016 : Misc (90) **Category:** misc |**Points:** 90 |**Name:** BarParty |**Solves:** 229 |**Description:** > Can you read the barcodes?>> File: > ![](src/barcodes.jpg) ___ ## Write-up We stiched together the cut up barcodes using photoshop. ![](src/barcode1.jpg)![](src/barcode2.jpg) We read the barcodes...
# Internetwache 2016 : Ruby's count (exp50) **Category:** exploit |**Points:** 50 |**Name:** Ruby's count |**Solves:** 219 |**Description:** > Hi, my name is Ruby. I like converting characters into ascii values and then calculating the sum.>> Service: 188.166.133.53:12037 ___ ## Write-up ### Part ZeroWe were given a se...
# Internetwache 2016 : EquationSolver (exp60) **Category:** exploit |**Points:** 60 |**Name:** EquationSolver |**Solves:** 257 |**Description:** > I created a program for an unsolveable equation system. My friend somehow forced it to solve the equations. Can you tell me how he did it?>> Service: 188.166.133.53:12049 __...
# Writeup for The Secret Store (WEB70) (70) > Solves: 267> Description: We all love secrets. Without them, our lives would be dull. A student wrote a secure secret store, however he was babbling about problems with the database. Maybe I shouldn't use the 'admin' account. Hint1: Account deletion is intentional. Hint2: I...