From 93421642dc435c98fc97833320b71c91698f163a Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Wed, 22 Sep 2021 10:09:42 -0400 Subject: [PATCH] Initial commit --- index.wiki | 29 +++++++++++++++++++++++++ lang/C.wiki | 7 ++++++ lang/bitwise_cast.wiki | 16 ++++++++++++++ projects/dashboard.wiki | 0 splash.wiki | 24 +++++++++++++++++++++ tech/development.wiki | 3 +++ tech/recon/nmap.wiki | 47 +++++++++++++++++++++++++++++++++++++++++ tech/security.wiki | 18 ++++++++++++++++ 8 files changed, 144 insertions(+) create mode 100644 index.wiki create mode 100644 lang/C.wiki create mode 100644 lang/bitwise_cast.wiki create mode 100644 projects/dashboard.wiki create mode 100644 splash.wiki create mode 100644 tech/development.wiki create mode 100644 tech/recon/nmap.wiki create mode 100644 tech/security.wiki diff --git a/index.wiki b/index.wiki new file mode 100644 index 0000000..07e2b18 --- /dev/null +++ b/index.wiki @@ -0,0 +1,29 @@ += My everything wiki = + +== Organized == + +* [[Ideas.md.gpg]] - Some of my ideas for projects +* [[Classes.md.gpg]] - My class info for Graduation +* [[splash]] - The splash page + +== Tech notes == + +* [[tech/security|Security]] - Security tools and techniques +* [[tech/development|Development]] - Development tools +* [[tech/misc|Misc]] - Miscellaneous tools + +== Languages == + +* [[lang/C|C]] +* [[lang/C++|C++]] +* [[lang/Python|Python]] +* [[lang/HTML|HTML]] +* [[lang/CSS|CSS]] +* [[lang/Javascript|Javascript]] +* [[lang/PHP|PHP]] +* [[lang/Rust|Rust]] +* [[lang/Go|Go]] + +== Projects == + +* [[projects/dashboard|Dashboard]] diff --git a/lang/C.wiki b/lang/C.wiki new file mode 100644 index 0000000..4160698 --- /dev/null +++ b/lang/C.wiki @@ -0,0 +1,7 @@ += C = + +Systems language. One of the fastest langs around + +== Memory == + +* [[bitwise_cast]] - Cast a type as another bit for bit diff --git a/lang/bitwise_cast.wiki b/lang/bitwise_cast.wiki new file mode 100644 index 0000000..a8a296f --- /dev/null +++ b/lang/bitwise_cast.wiki @@ -0,0 +1,16 @@ += Bitwise_cast = + +This works for C/C++. Basically all you do it cast like this + +{{{C + float cast(int foo){ + return (* (float*)&foo); + } +}}} + +This is also known as the "evil floating point bit level hacking" from the +quake III fast inverse square root. + +== Uses == + +* Casting structs for hashing diff --git a/projects/dashboard.wiki b/projects/dashboard.wiki new file mode 100644 index 0000000..e69de29 diff --git a/splash.wiki b/splash.wiki new file mode 100644 index 0000000..097a353 --- /dev/null +++ b/splash.wiki @@ -0,0 +1,24 @@ += Vim = + +_Only way shit gets done is if you just do it, so get into it!_ + +Table of contents +- [[#School|School]] +- [[#Projects|Projects]] +- [[index|Index]] + +== School == +_Use gf keybinding to open the link_ +- [Digital Design](~/school/Advanced\ Digital\ Design) +- [Chemistry](~/school/Chemistry) +- [Cryptology](~/school/Cryptology) +- [Early America](~/school/Early\ America) +- [Embedded Systems](~/school/Embedded\ Systems) +- [Human Biology](~/school/Human\ Biology) + +== Projects == + +- [Dashboard](~/code/dashboard) +- [LRUCache](~/code/LRUCache) +- [rss-cli](~/code/rss-cli) +- [website](~/code/site) diff --git a/tech/development.wiki b/tech/development.wiki new file mode 100644 index 0000000..dd142f9 --- /dev/null +++ b/tech/development.wiki @@ -0,0 +1,3 @@ +[[index]] + += Development = diff --git a/tech/recon/nmap.wiki b/tech/recon/nmap.wiki new file mode 100644 index 0000000..373eb18 --- /dev/null +++ b/tech/recon/nmap.wiki @@ -0,0 +1,47 @@ +[[index]] + += nmap = + +A great tool for scanning hosts over the network + + +== Options == + +=== Hide yourself === + +* -D (Decoys) + - Usage: -D {IP_ADDR,IP_ADDR,...} + - list of hosts to send packets from. will spoof outgoing packets to appear + as if they come from these hosts. Can help fool [[IDS]] by hiding the real + address of the machine performing the scan +* -S (source address) + - Usage: -S IP_ADDR + - spoof the source address for packets for the scan. For this the -e option + is required, as well as -Pn +* -e (interface) + - Usage: -e INTERFACE + - set which interface to use when sending out packets, ie eth0 or wlan0 +* -Pn (all hosts online) + - Usage: -Pn + - Treat all hosts as online, dont bother to check if theyre up or not +* -b (bounce) + - Usage: -b FTP.HOST.COM + - 'Bounce' our scan through a ftp host. does this by making it appear as if + we're requesting files, then watch how the server replies + +=== Obtrusive === + +* -O (OS detection) + - Usage: -O + - Will attempt to see what OS the target system is running. Is pretty + invasive so be catious when using this +* -A (OS/version detection) + - Usage: -A + - Will attempt to detect both OS and OS version. Very obtrusive +* -T<0-5> (Timing template) + - Determine how fast the scan will go. higher is faster, yet more aggressive + and obvious to [[IDS]] +* -p (Scan specific port) + - Usage: -p<1-65535> + - Scans specified ports only. use -p- to scan every port + diff --git a/tech/security.wiki b/tech/security.wiki new file mode 100644 index 0000000..fadd5d5 --- /dev/null +++ b/tech/security.wiki @@ -0,0 +1,18 @@ += Security = + +Tools useful for security, either offensive or defensive + +== Reconnaissance == + +* [[recon/nmap|nmap]] - port scanner + + + + + + + + += Back = + +[[../index.wiki]]