- url http://ctf.bsidesindore.in (http://34.93.227.31)
- username
cccac - password:
4f1e4cc31ae3c008edcb7d759acafacb
## $Challenge Name
| { config, pkgs... }: | |
| # Future People: This place is not a place of honor... no highly esteemed deed | |
| # is commemorated here... nothing valued is here... | |
| # Look at the docker volumes section: You'll have to build and fail a few | |
| # times... sorry | |
| let | |
| # environment.etc."pretix.cfg".text = '' | |
| pretix_config = pkgs.writeText "pretix.cfg" '' |
| javascript: (function() { | |
| var visited = []; | |
| var recursiveSpider = function(url) { | |
| if (visited.indexOf(url) != -1) { | |
| return; | |
| } | |
| visited.push(url); | |
| console.log(url); | |
| var xhr = new XMLHttpRequest(); | |
| xhr.open('GET', url, true); |
| error: | |
| … while calling anonymous lambda | |
| at /nix/store/0iqihbvgw5r24rvff4mkikzz0v0lalh1-source/lib/attrsets.nix:812:24: | |
| 811| let f = attrPath: | |
| 812| zipAttrsWith (n: values: | |
| | ^ | |
| 813| let here = attrPath ++ [n]; in |
| #! /usr/bin/env nix-shell | |
| #! nix-shell -i python -p python39Packages.termcolor | |
| import sys | |
| from termcolor import colored, cprint | |
| """ | |
| DragonSector CTF 2021 - Run of the Mill | |
| This was an awesome challenge, although this script is what is left over of a |
| #!/usr/bin/env python3 | |
| from pwn import * | |
| context.binary = "./main_fixed" | |
| # rops | |
| rop_mov_r0_r6_t_adr = 0x00010d2c # ; mov r0,r6 / pop {r4, r5, r6, pc} | |
| rop_add_r0_r4_t_adr = 0x0001fd74 # ; add r0, r4 / pop {r4, pc} | |
| rop_pop_lr_t_adr = 0x00045f5a # ; pop.w {r4, lr} / nop.w / pop {r4, pc} |
cccac4f1e4cc31ae3c008edcb7d759acafacb## $Challenge Name
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "net/http" | |
| "os" | |
| "strings" | |
| "time" | |
| ) |
| # Edit this configuration file to define what should be installed on | |
| # your system. Help is available in the configuration.nix(5) man page | |
| # and in the NixOS manual (accessible by running ‘nixos-help’). | |
| { config, pkgs, ... }: | |
| { | |
| imports = | |
| [ # Include the results of the hardware scan. | |
| ./hardware-configuration.nix |
| { config, pkgs, ... }: | |
| let | |
| release = "nixos-21.11"; | |
| in { | |
| imports = [ | |
| (builtins.fetchTarball { | |
| # Pick a commit from the branch you are interested in | |
| url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/${release}/nixos-mailserver-${release}.tar.gz"; | |
| # And set its hash | |
| sha256 = "1i56llz037x416bw698v8j6arvv622qc0vsycd20lx3yx8n77n44"; |
| /// base64 can be generated by taking chunks of 3 bytes from the input and | |
| /// mapping them onto 4 output chunks as shown below: | |
| /// | |
| /// ```raw | |
| /// | M | a | n | ascii | |
| /// | 77 | 97 | 110 | decimal | |
| /// | 0x4d | 0x61 | 0x6e | hex | |
| /// | | | | | |
| /// | a | b | c | chunk name | |
| /// | | | | |