Headless reinstall and update https://raspberrypi.stackexchange.com/a/57023
- create a text file in /boot/ called ssh
$flag = "The Power is Yours"; | |
if (isset($_POST["user"]) && isset($_POST["pass"])) { | |
$password = make_key($_POST["user"]); | |
sleep(5); | |
if (strcmp($password, $_POST["pass"]) == 0) { | |
echo "You are close, but no cigar! <br />"; | |
if ($_POST["user"] == "127.0.0.1") { | |
echo "You got the flag, and the flag is: ".$flag."<br /> "; |
# | |
import json | |
import csv | |
import requests | |
from pprint import pprint | |
# curl 'https://www.99.co/api/v1/web/clusters/deXkoa5VewougnTrnKj8nCHb/transactions/table/history?transaction_type=sale&page_num=1&page_size=5' > page0.json | |
filename = 'page4' | |
inFile = filename + '.json' |
Headless reinstall and update https://raspberrypi.stackexchange.com/a/57023