Patriotctf 2022

1 minute read

Hello Friend , Paathu romba naal aachula!

Alt Text

Lets Have a look at some foren challs , right ?

CTF Name : PatriotCTF

image

1.FOXI

image

  • Unzip the given file
  • cd foxi/appdata/roaming/Mozilla/Firefox/Profiles

image

Do clone the repository : https://github.com/unode/firefox_decrypt

CTF@PJ >> ls
3y1wxf49.default-release
CTF@PJ >> sudo python3 /opt/firefox_decrypt/firefox_decrypt.py 3y1wxf49.default-release/
2022-05-11 20:04:00,958 - WARNING - profile.ini not found in 3y1wxf49.default-release/
2022-05-11 20:04:00,958 - WARNING - Continuing and assuming '3y1wxf49.default-release/' is a profile location

Website:   http://pctf.local
Username: 'ctfuser'
Password: 'PCTF{Br0ws3rs_ar3_th3_b3st_P@ssw0rd_R3p0s}'

flag : PCTF{Br0ws3rs_ar3_th3_b3st_P@ssw0rd_R3p0s}

2.Sticky Note

image

  • Unzip The given file
[j0ker sticky-notes]# ls
 AppData                      backup.jpg.lnk   Desktop     Downloads   Links   Pictures       Searches           Videos
 appsFolder.itemdata-ms.bak   Contacts         Documents   Favorites   Music  'Saved Games'   SteveProfile.zip
[j0ker sticky-notes]# tree |tail
├── Searches
│   ├── desktop.ini
│   ├── Everywhere.search-ms
│   ├── Indexed Locations.search-ms
│   └── winrt--{S-1-5-21-3040204872-3082932231-1584796067-1001}-.searchconnector-ms
├── SteveProfile.zip
└── Videos
    └── desktop.ini

611 directories, 1082 files

  • Whoa so much files right, but we just need jpg
  • lets grep it and view
[j0ker sticky-notes]# tree |grep jpg|cut -d " " -f7|grep jpg
Bears.jpg
Garden.jpg
GreenBubbles.jpg
HandPrints.jpg
OrangeCircles.jpg
Peacock.jpg
Roses.jpg
ShadesOfBlue.jpg
SoftBlue.jpg
Stars.jpg
Tile0.jpg

tree |grep jpg|cut -d " " -f7|grep jpg|while read line;do feh find . -name $line;done

image

Updated: