Skip to content

Instantly share code, notes, and snippets.

View crucialbit's full-sized avatar

Crucial Bit crucialbit

View GitHub Profile
@crucialbit
crucialbit / Linux Directory Structure Diagram.txt
Last active March 19, 2023 03:40
Linux Directory Structure Diagram
/bin : All the executable binary programs (file) required during booting, repairing, files required to run into single-user-mode, and other important, basic commands viz., cat, du, df, tar, rpm, wc, history, etc.
/boot : Holds important files during boot-up process, including Linux Kernel.
/dev : Contains device files for all the hardware devices on the machine e.g., cdrom, cpu, etc
/etc : Contains Application’s configuration files, startup, shutdown, start, stop script for every individual program.
/home : Home directory of the users. Every time a new user is created, a directory in the name of user is created within home directory which contains other directories like Desktop, Downloads, Documents, etc.
/lib : The Lib directory contains kernel modules and shared library images required to boot the system and run commands in root file system.
/lost+found : This Directory is installed during installation of Linux, useful for recovering files which may be broken due to unexpected shut-down.
/media : Temporary
@crucialbit
crucialbit / index.php
Last active August 29, 2017 14:10
Simple PHP file for logging HTTP requests and parameters.
<!doctype html>
<html>
<head>
<title></title>
<style>
body {
width: 95%;
}
p {
line-height: 140%;
@crucialbit
crucialbit / xss-owasp-cheatsheet
Created May 21, 2017 03:09 — forked from sseffa/xss-owasp-cheatsheet
xss-owasp-cheatsheet
#
# https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
# based on the RSnake original http://ha.ckers.org/xss.html
# Retrieved on 2013-11-20
# Much of this wildly obsolete
#
# XSS Locator 2
'';!--"<XSS>=&{()}