• Home
  • My Notes
  • My Labs

Accidentally found mass assignment bugs

Details
Written by: Oki
Created: 19 February 2025
Hits: 395

 

Mass assignment bugs occur when developers allow parameters from HTTP requests to bind directly to objects without any validation. This potentially allows attackers to modify or add parameters that they should not have access to.

 

Read more …

Renew Lets Encrypt Certificate – NodeJS Express and Nginx

Details
Written by: Oki
Created: 30 July 2024
Hits: 766

Goals:
-    Renew Lets Encrypt Certificate for NodeJS Express environment
-    Renew Lets Encrypt Certificate for Nginx environment

 

Lab Setup:
First, we need to ensure that both servers (NodeJS and Nginx) are reachable from the internet. 

Read more …

Solving Lab - Exploiting NoSQL operator injection to extract unknown fields

Details
Written by: Oki
Created: 06 November 2023
Hits: 1365

I have solved one of the NoSQL Injection labs from PortSwigger and it was fun! The title of the lab is Exploiting NoSQL operator injection to extract unknown fields. The lab description is a little misguided here, it said the user lookup function has a NoSQL Injection vulnerability but after solving it the vulnerable part resides in the login function, where we can inject the NoSQL operator base payload inside the message body on POST /login endpoint.

Read more …

Python - SSH Reverse Tunnelling

Details
Written by: Oki
Created: 19 September 2018
Hits: 3091
Python SSH Tunnel

Goal and Scenario:

  • - Access web server from Kali machine. 
  • - Kali machine have no access to web server directly
  • - Assuming Ubuntu machine already compromised, running python script inside.

    Read more …

  • Building Mikrotik OpenVPN Server and OpenVPN Client Config for Android Device
  • Multilayer Switch - DHCP Relay - IP Helper
  • BGP - Weight Attribute Lab
  • Tunneling IPv6 Over IPv4

Page 1 of 3

  • 1
  • 2
  • 3

Latest

  • Accidentally found mass assignment bugs
  • Mikrotik Router OS v7 - BGP Network Advertisement
  • Renew Lets Encrypt Certificate – NodeJS Express and Nginx
  • Solving Lab - Exploiting NoSQL operator injection to extract unknown fields
  • Python - SSH Reverse Tunnelling