Posts

Showing posts with the label Programming

Web Application Penetration Testing - Flash Card

Image
HTML <html> <head></head> <body> Hello World! This is <b>bold</b>. <a href="http://www.faecbook.com">www.facebook.com</a> <img src="https://www.haskell.org/happy/Happy.gif" /> </body> </html> JavaScript <html <head></head> <body> <script> document.write(1+2); </script> </body> </html> PHP GET Request <?php echo "Hello,".$_GET["name"]; ?> POST Request <form action="" method="post"> Username <input type="text" name="username" /> <input type="submit" /> </form> <?php echo "Hello,".$_POST["username"]; ?>

Excel Function and VBA

Image
Excel Functions and VBA Cheat Sheet by Axcel Security: https://drive.google.com/file/d/0B5wopjzDUlg-UGthSGNoWVZZOFE/view?usp=sharing Excel Funtions Join two or more text strings into one string =CONCATENATE(B2," ",C2) Separate Strings (1) =RIGHT(A2,LEN(A2)-FIND(",",A2)-1) Separate Strings (2) =LEFT(C6,FIND(",",C6)-1) Length of the string =LEN(C5) Replaces existing text with new text in a string =LEN(SUBSTITUTE(C6,D6,"")) Number of Instances =(LEN(C7)-LEN(SUBSTITUTE(C6,D6,"")))/LEN(D7) Remove extra spaces, starting spaces and ending spaces  =TRIM(C8) Replaces existing text with new text in a text string =SUBSTITUTE(C9, "how", "who") Replaces existing text with new text in a text string (indicate which occurrence you want to substitute) =SUBSTITUTE(C10, "2010", "2013", 2) Replaces existing text with new text in a text string (position of...

Syntax Highlighter - Prism

Image
Basic Usage <link href="themes/prism.css" rel="stylesheet"></link> <script src="prism.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.9.0/components/prism-bash.js"></script> <pre><code class="language-bash"> </code></pre> Download Prism at http://prismjs.com/ You may find prism.css and prism.js URL at https://cdnjs.com/libraries/prism

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)