Skip to content

Commit 5c221fa

Browse files
committed
this worked locally
1 parent 083ed89 commit 5c221fa

12 files changed

+53
-10
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ group :jekyll_plugins do
1010
gem "jekyll-commonmark-ghpages"
1111
gem "jekyll-gist"
1212
gem "jekyll-github-metadata"
13+
gem "github-pages"
1314
gem "jekyll-paginate"
1415
gem "jekyll-relative-links"
1516
gem "jekyll-optional-front-matter"

_config.yml

+47-5
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,9 @@ plugins:
2222
- jekyll-default-layout
2323
- jekyll-titles-from-headings
2424

25-
include:
26-
- windows
27-
- openbsd
28-
- linux
29-
3025
collections:
26+
tips_and_tricks:
27+
output: yes
3128
devices:
3229
output: yes
3330
guides:
@@ -48,11 +45,56 @@ collections:
4845
output: yes
4946

5047
defaults:
48+
- scope:
49+
path: ""
50+
type: "devices"
51+
values:
52+
layout: "default"
53+
- scope:
54+
path: ""
55+
type: "guides"
56+
values:
57+
layout: "default"
58+
- scope:
59+
path: ""
60+
type: "linux"
61+
values:
62+
layout: "default"
63+
- scope:
64+
path: ""
65+
type: "notes"
66+
values:
67+
layout: "default"
5168
- scope:
5269
path: ""
5370
type: "openbsd"
5471
values:
5572
layout: "default"
73+
- scope:
74+
path: ""
75+
type: "oracle"
76+
values:
77+
layout: "default"
78+
- scope:
79+
path: ""
80+
type: "snips"
81+
values:
82+
layout: "default"
83+
- scope:
84+
path: ""
85+
type: "tips_and_tricks"
86+
values:
87+
layout: "default"
88+
- scope:
89+
path: ""
90+
type: "vm"
91+
values:
92+
layout: "default"
93+
- scope:
94+
path: ""
95+
type: "windows"
96+
values:
97+
layout: "default"
5698

5799
exclude:
58100
- WIP

_linux/Recover your kali after a mess/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ So after helping them (_not solve their problem_ 🤣) this guide came out, in h
1919
## ... deleting your `/etc/passwd`
2020
Ok so somehow you ended up with either a corrupt or non existent `/etc/passwd` file and you see something like this
2121

22-
![Oh noes](Pasted%20image%2020220523222530.png)
22+
![Oh noes](Pasted image 20220523222530.png)
2323

2424
Not to worry things are fairly easy to fix. Boot into [single user mode](#single-user-mode-on-linux)
2525

2626
Once the system is booted you can recover your password file from a previous backup and adapt to your needs.
2727

2828
Best case scenario all you have to do is the following
29-
![easy-peasy](Pasted%20image%2020220523222742.png)
29+
![easy-peasy](Pasted image 20220523222742.png)
3030

3131

3232
The steps you need to do are as following:
@@ -43,7 +43,7 @@ root@(none):/# mount -o rw,remount /
4343
```
4444
3. check the system backup and confirm its contents (eg make sure your id or username is not already there like the following example)
4545

46-
![](Pasted%20image%2020220523230952.png)
46+
![](Pasted image 20220523230952.png)
4747

4848

4949
Now depending on whether or not your details exist or not in the backup file you have to
@@ -77,6 +77,6 @@ Most of the recovery options that follow depend on entering in single user mode.
7777

7878
1. Reboot your system and right after the Kali boot screen apears press the Escape key to stop the automatic boot.
7979
2. You will be presented with a menu similar to the following. Highlight the first option and press `e` (edit)
80-
![](Pasted%20image%2020220523222730.png)
80+
![](Pasted image 20220523222730.png)
8181
3. You will then be presented with the various grub settings for this option. Move by pressing the arrow keys and go to the line starting with `linux /boot`, go at the end of the line and add ` init=/bin/bash` like the screenshot, and press Ctrl+X or F10
82-
![](Pasted%20image%2020220523222737.png)
82+
![](Pasted image 20220523222737.png)

0 commit comments

Comments
 (0)