├── .gitignore ├── .gitmodules ├── .travis.yml ├── CMakeLists.txt ├── IMPLEMENTATION.md ├── LICENSE.md ├── README.md ├── assembler └── assembler.py ├── emulator ├── CMakeLists.txt └── emulator.cpp ├── polictf ├── CMakeLists.txt ├── README.MD ├── asms │ ├── README.MD │ ├── decrypt.pstc │ └── encrypt.pstc ├── client │ ├── CMakeLists.txt │ └── pasticciotto_client.cpp ├── out │ ├── client-debug.elf │ ├── client.elf │ ├── decrypt.elf │ ├── encrypt.elf │ ├── server-debug.elf │ └── server.elf ├── res │ ├── banner.txt │ ├── client_opcode_key.txt │ ├── decrypteddatasection.txt │ ├── encrypteddatasection │ └── flag.txt ├── server │ ├── CMakeLists.txt │ ├── exploit-test.py │ └── pasticciotto_server.cpp └── tea_cversion │ ├── tea-decrypt.c │ └── tea-encrypt.c ├── res ├── functions.png ├── instruction.png ├── pasticciotto.png ├── structure.png └── structure.svg ├── tests ├── CMakeLists.txt ├── include │ └── catch.hpp ├── test_main.cpp ├── vm │ ├── CMakeLists.txt │ └── test_vm.cpp └── vmas │ ├── CMakeLists.txt │ └── test_vmas.cpp └── vm ├── CMakeLists.txt ├── debug.h ├── instruction.h ├── vm.cpp ├── vm.h ├── vmas.cpp └── vmas.h /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/.gitmodules -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/.travis.yml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /IMPLEMENTATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/IMPLEMENTATION.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/README.md -------------------------------------------------------------------------------- /assembler/assembler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/assembler/assembler.py -------------------------------------------------------------------------------- /emulator/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/emulator/CMakeLists.txt -------------------------------------------------------------------------------- /emulator/emulator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/emulator/emulator.cpp -------------------------------------------------------------------------------- /polictf/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/CMakeLists.txt -------------------------------------------------------------------------------- /polictf/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/README.MD -------------------------------------------------------------------------------- /polictf/asms/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/asms/README.MD -------------------------------------------------------------------------------- /polictf/asms/decrypt.pstc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/asms/decrypt.pstc -------------------------------------------------------------------------------- /polictf/asms/encrypt.pstc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/asms/encrypt.pstc -------------------------------------------------------------------------------- /polictf/client/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/client/CMakeLists.txt -------------------------------------------------------------------------------- /polictf/client/pasticciotto_client.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/client/pasticciotto_client.cpp -------------------------------------------------------------------------------- /polictf/out/client-debug.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/out/client-debug.elf -------------------------------------------------------------------------------- /polictf/out/client.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/out/client.elf -------------------------------------------------------------------------------- /polictf/out/decrypt.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/out/decrypt.elf -------------------------------------------------------------------------------- /polictf/out/encrypt.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/out/encrypt.elf -------------------------------------------------------------------------------- /polictf/out/server-debug.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/out/server-debug.elf -------------------------------------------------------------------------------- /polictf/out/server.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/out/server.elf -------------------------------------------------------------------------------- /polictf/res/banner.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/res/banner.txt -------------------------------------------------------------------------------- /polictf/res/client_opcode_key.txt: -------------------------------------------------------------------------------- 1 | HaveFun!PoliCTF2017! -------------------------------------------------------------------------------- /polictf/res/decrypteddatasection.txt: -------------------------------------------------------------------------------- 1 | TheDataSectionHasBeenEncrypted...WhoAreYouGonnaCall...TheRuNasOfCourse.. -------------------------------------------------------------------------------- /polictf/res/encrypteddatasection: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/res/encrypteddatasection -------------------------------------------------------------------------------- /polictf/res/flag.txt: -------------------------------------------------------------------------------- 1 | flag{m4nc14t1b1_stu_bellu_p4sticci0tt0} -------------------------------------------------------------------------------- /polictf/server/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/server/CMakeLists.txt -------------------------------------------------------------------------------- /polictf/server/exploit-test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/server/exploit-test.py -------------------------------------------------------------------------------- /polictf/server/pasticciotto_server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/server/pasticciotto_server.cpp -------------------------------------------------------------------------------- /polictf/tea_cversion/tea-decrypt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/tea_cversion/tea-decrypt.c -------------------------------------------------------------------------------- /polictf/tea_cversion/tea-encrypt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/polictf/tea_cversion/tea-encrypt.c -------------------------------------------------------------------------------- /res/functions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/res/functions.png -------------------------------------------------------------------------------- /res/instruction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/res/instruction.png -------------------------------------------------------------------------------- /res/pasticciotto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/res/pasticciotto.png -------------------------------------------------------------------------------- /res/structure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/res/structure.png -------------------------------------------------------------------------------- /res/structure.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/res/structure.svg -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/tests/CMakeLists.txt -------------------------------------------------------------------------------- /tests/include/catch.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/tests/include/catch.hpp -------------------------------------------------------------------------------- /tests/test_main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/tests/test_main.cpp -------------------------------------------------------------------------------- /tests/vm/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/tests/vm/CMakeLists.txt -------------------------------------------------------------------------------- /tests/vm/test_vm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/tests/vm/test_vm.cpp -------------------------------------------------------------------------------- /tests/vmas/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/tests/vmas/CMakeLists.txt -------------------------------------------------------------------------------- /tests/vmas/test_vmas.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/tests/vmas/test_vmas.cpp -------------------------------------------------------------------------------- /vm/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/vm/CMakeLists.txt -------------------------------------------------------------------------------- /vm/debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/vm/debug.h -------------------------------------------------------------------------------- /vm/instruction.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/vm/instruction.h -------------------------------------------------------------------------------- /vm/vm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/vm/vm.cpp -------------------------------------------------------------------------------- /vm/vm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/vm/vm.h -------------------------------------------------------------------------------- /vm/vmas.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/vm/vmas.cpp -------------------------------------------------------------------------------- /vm/vmas.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peperunas/pasticciotto/HEAD/vm/vmas.h --------------------------------------------------------------------------------