edit post
This commit is contained in:
parent
cafd9f6b30
commit
b587429347
@ -5,14 +5,15 @@ date = 2024-05-03
|
|||||||
|
|
||||||
<!-- -->
|
<!-- -->
|
||||||
|
|
||||||
It's my personal hacking learning strategy:<!--more-->
|
It's my personal hacking learning strategy:
|
||||||
- Superficially recognize how it is done - you need to find familiar concepts
|
- Superficially recognize how it is done - you need to find familiar concepts
|
||||||
- Read OWASP Top-10 for it
|
- Read OWASP Top-10 for it
|
||||||
|
- PRACTICE! Try find lab for this taks (Portswigger)
|
||||||
- Gather methodology on testing from various sources
|
- Gather methodology on testing from various sources
|
||||||
- Get list of hack tools
|
- Get list of hack tools
|
||||||
- Based on methodology create own checklist on pentest
|
- Based on methodology create own checklist on pentest
|
||||||
- Find checklists for this topic online and combine with own if needed
|
- Find checklists for this topic online and combine with own if needed
|
||||||
- PRACTICE! (TryHackMe, HackTheBox...)
|
- PRACTICE! (TryHackMe, HackTheBox, Portswigger...)
|
||||||
- Fill the knowledge gaps
|
- Fill the knowledge gaps
|
||||||
- Extra: Read books and articles to deepen knowledge base
|
- Extra: Read books and articles to deepen knowledge base
|
||||||
|
|
||||||
|
@ -388,7 +388,7 @@ ok: [192.168.0.5] => {
|
|||||||
file_server
|
file_server
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
Now we can access default Caddy page of our PCs via browser...
|
Now we can access default Caddy page of our PCs via browser...
|
||||||
OR NOT
|
OR NOT
|
||||||
```sh
|
```sh
|
||||||
TASK [web-browser : Install Caddy] *********************************************
|
TASK [web-browser : Install Caddy] *********************************************
|
||||||
@ -418,7 +418,6 @@ Ansible use package manager of remote host. So if system doesn't have package, i
|
|||||||
```
|
```
|
||||||
`roles/web-browser/template/index.html.j2`:
|
`roles/web-browser/template/index.html.j2`:
|
||||||
```html
|
```html
|
||||||
...
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
@ -514,8 +513,6 @@ Result in `index.html`:
|
|||||||
10. And last - make caddy restart if ansible makes any modification
|
10. And last - make caddy restart if ansible makes any modification
|
||||||
`roles/web-browser/handlers/main.yml`:
|
`roles/web-browser/handlers/main.yml`:
|
||||||
```yaml
|
```yaml
|
||||||
...
|
|
||||||
handlers:
|
|
||||||
- name: restart caddy service
|
- name: restart caddy service
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
name: caddy
|
name: caddy
|
||||||
|
Loading…
Reference in New Issue
Block a user