Skip to content

Instantly share code, notes, and snippets.

@ollybee
ollybee / tshark-http-https.md
Last active March 10, 2023 11:09
Log all HTTP + HTTPS request locations

One line tshark command to log all outbound HTTP and HTTPS connecitons.

Request type Output
For HTTP traffic the IP and full request is shown 104.131.8.184 http://catfact.ninja/fact
For HTTPS traffic using sni, the IP and domain is shown 104.131.8.184 catfact.ninja
HTTP Request on nonstandard support wit no extra config 35.180.139.74 http://portquiz.net:8080/
If an HTTPS conneciton is made without sni then only the IP is shown 35.180.139.74

All output is also time stamped.

ansible-inventory -vvv -i ./netbox_inventory.yml --host someserver
ansible-inventory 2.7.1
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/monitoring/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/dist-packages/ansible
executable location = /usr/bin/ansible-inventory
python version = 2.7.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0]
Using /etc/ansible/ansible.cfg as config file
/home/monitoring/ansible/netbox_inventory.yml did not meet host_list requirements, check plugin documentation if this is unexpected
/home/monitoring/ansible/netbox_inventory.yml did not meet virtualbox requirements, check plugin documentation if this is unexpected

#Shared hosting

Shared hosting is the most common type of hosting. If you just want to get a simple site up and you have no interest in learning about IT and systems administration then this is where you should start. Having said that spending a little bit learning about the different types of hosting and how it works could save you time in the long run.

With shared hosting the host creates you an account on their systems that will publish and run your website. The resources of the server or servers running the system are shared between all the sites hence the name. They wont try to specify the amount of RAM or CPU power that you will have available, this is normal and not something you should worry about (trust me on this for now). You will get a website you can log into where you can control the settings for the account, this is called a control panel and Cpanel is a brand of software for doing this and very widely used.

You'll need a domain

For people to access your website you need to have a domain

Keybase proof

I hereby claim:

  • I am ollybee on github.
  • I am ollybee (https://keybase.io/ollybee) on keybase.
  • I have a public key whose fingerprint is 2216 B0D6 A1DD BF69 2392 B440 AE92 78EB 6E33 B7E9

To claim this, I am signing this object: