Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 901 Bytes

File metadata and controls

55 lines (36 loc) · 901 Bytes

Reversing Python

  • Namespace: picoctf/examples
  • ID: reversing-python
  • Type: custom
  • Category: Reverse Engineering
  • Points: 1
  • Templatable: yes
  • MaxUsers: 1

Description

This service can provide you with a random number, but can it do anything else?

Details

Connect to the program with netcat:

$ nc {{server}} {{port}}

The program's source code can be downloaded {{url_for("picker-I.py", "here")}}.

Hints

  • Can you point the program to a function that does something useful for you?

Solution Overview

Enter 'win' as the input to the program

Challenge Options

cpus: 0.5
memory: 128m
pidslimit: 20
ulimits:
  - nofile=128:128
diskquota: 64m
init: true

Learning Objective

Examining source code to identify functionality

Tags

  • python

Attributes

  • author: LT 'syreal' Jones
  • organization: picoCTF
  • event: picoCTF Problem Developer Training