Skip to content

Commit

Permalink
Changelog worth a look if you're reading this. Some updates to Phishi…
Browse files Browse the repository at this point in the history
…ng and SE primarily. Not what I planned to update, but eh. Will hopefully make another pass on some of the smaller things and update Phishing and Building a Lab in the next few days as well.
  • Loading branch information
rmusser01 committed Jul 2, 2020
1 parent 9512b2b commit 60ff8da
Show file tree
Hide file tree
Showing 19 changed files with 1,826 additions and 1,393 deletions.
350 changes: 0 additions & 350 deletions Draft/AOP.md

This file was deleted.

42 changes: 0 additions & 42 deletions Draft/Archiving

This file was deleted.

23 changes: 23 additions & 0 deletions Draft/Archiving.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
### A Guide to Archiving Websites
* From: https://gist.githubusercontent.com/mullnerz/9fff80593d6b442d5c1b/raw/2c511e82f998bc489d9e300870f8789c77c2b49b/archive-website.md
* "The command I use to archive a single website"
* `sh wget -mpck --html-extension --user-agent="" -e robots=off --wait 1 -P . www.foo.com`
* **Explanation of the parameters used**
* `-m` (Mirror) Turns on mirror-friendly settings like infinite recursion depth, timestamps, etc.
* `-c` (Continue) Resumes a partially-downloaded transfer
* `-p` (Page requisites) Downloads any page dependencies like images, style sheets, etc.
* `-k` (Convert) After completing retrieval of all files…
* converts all absolute links to other downloaded files into relative links
* converts all relative links to any files that weren’t downloaded into absolute, external links
* In a nutshell: makes your website archive work locally
* `--html-extension` this adds .html after the downloaded filename, to make sure it plays nicely on whatever system you’re going to view the archive on
* `–user-agent=””` - Sometimes websites use robots.txt to block certain agents like web crawlers (e.g. GoogleBot) and Wget. This tells Wget to send a blank user-agent, preventing identification. You could alternatively use a web browser’s user-agent and make it look like a web browser, but it probably doesn’t matter.
* `-e robots=off` - Sometimes you’ll run into a site with a robots.txt that blocks everything. In these cases, this setting will tell Wget to ignore it. Like the user-agent, I usually leave this on for the sake of convenience.
* `–wait 1` - Tells Wget to wait 1 second between each action. This will make it a bit less taxing on the servers.
* `-P .` - set the download directory to something. I left it at the default “.” (which means “here”) but this is where you could pass in a directory path to tell wget to save the archived site. Handy, if you’re doing this on a regular basis (say, as a cron job or something…)
* `http://url-to-site` - this is the full URL of the site to download. You’ll likely want to change this.
* **Sources**
- [Archiving a (WordPress) website with wget | D’Arcy Norman dot net](http://darcynorman.net/2011/12/24/archiving-a-wordpress-website-with-wget/)
- [Archiving a Website With Wget](http://www.dheinemann.com/2011/archiving-with-wget/)

```
5 changes: 5 additions & 0 deletions Draft/Cheats.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@






### Cheat Sheets
* **General Cheat Sheets**
Expand Down Expand Up @@ -67,6 +69,9 @@
* [Windows Privilege Escalation Cheat Sheet/Tricks](http://it-ovid.blogspot.fr/2012/02/windows-privilege-escalation.html)
* [Attack Surface Analysis Cheat Sheet](https://www.owasp.org/index.php/Attack_Surface_Analysis_Cheat_Sheet)
* [Web Application Penetration Testing Cheat Sheet - jdow.io](https://jdow.io/blog/2018/03/18/web-application-penetration-testing-methodology/)
* [Pentesting CheatSheets - @spotheplanet](https://ired.team/offensive-security-experiments/offensive-security-cheetsheets)
* [Active Directory Cheat Sheet](https://github.com/Integration-IT/Active-Directory-Exploitation-Cheat-Sheet)
* This repository contains a general methodology in the Active Directory environment. It is offered with a selection of quick commands from the most efficient tools based on Powershell, C, .Net 3.5 and .Net 4.5.
* **PowerShell**
* [PowerShell Remoting Cheatsheet - Scott Sutherland](https://blog.netspi.com/powershell-remoting-cheatsheet/)
* **RE Cheat Sheets**<a name="re"></a>
Expand Down
Loading

0 comments on commit 60ff8da

Please sign in to comment.