Skip to main content

Posts

Showing posts with the label CTF's

Uncle Arnold’s Local Band Review: HackThisSite - Challenge - - Realistic

  HackThisSite Playlist: Of course why not? I should help my friend so how am I gonna hack this site? First I rewied the source code: Imposing Republic < form action = "v.php" method = "get" > < input type = "hidden" name = "PHPSESSID" value = "abcaeadfc31a5c43b2534bf995c0553f" /> < input type = "hidden" name = "id" value = "4" /> < select name = "vote" > < option value = "1" > 1 </ option > < option value = "2" > 2 </ option > Every band had different values I first thought it was the factor deciding the rank but it was not. The only functionality was the voting feature but it didn’t made any change to the rating, so I intercepted the request: It was a GET request, interesting. I changed it to POST and change the number of votes to 25. And it worked my friend's band is the most rated on the list ...

Templated: HackTheBox Web challenge My Perspective

  Proudly powered by Flask/Jinja2 In Jinja2, templates can inherit from other templates using the  {% extends %}  tag. When a template extends another template, it inherits the context of the parent template. The  self._TemplateReference__context  attribute is used to store this inherited context in the child template. <ip>:<port>/{{self._TemplateReference__context }} The page ‘<Context {‘range’: <class ‘range’>, ‘dict’: <class ‘dict’>, ‘lipsum’: <function generate_lorem_ipsum at 0x7f5a4afcfdc0>, ‘cycler’: <class ‘jinja2.utils.Cycler’>, ‘joiner’: <class ‘jinja2.utils.Joiner’>, ‘namespace’: <class ‘jinja2.utils.Namespace’>, → {{self._TemplateReference__context }} this gives access to the following classes → jinja2.utils.Cycler , jinja2.utils.Joiner , jinja2.utils.Namespace self._TemplateReference__context : This is a reference to the private  __context  attribute of the  TemplateReference  cla...

TOOLS for hacking and CTF’s

  Privilege escalation LinPEAS — Linux Privilege Escalation Awesome Script github:  https://github.com/carlospolop/PEASS-ng/tree/master/linPEAS sudo wget  https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh scp linpeas.sh ramen@$ip:/dev/shm note: → "SCP" stands for "Secure Copy Protocol." It is a command line tool in Linux and other Unix-based operating systems that allows users to securely transfer files between computers. → "/dev/shm" is a directory on Linux and Unix-based systems that is used for shared memory.It is also worth noting that the content of /dev/shm is usually not persistent across reboots, and will be deleted upon reboot or unmount. chmod 700 linpeas.sh ./linpeas.sh Email Analysis — emlAnalyzer email reputation check:  https://emailrep.io/ INQUEST LABS (INDICATOR LOOKUP) Like virustotal.InQuest  provides a complete network forensics picture, from session details such as header information to file...