You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contributing/contributions/README.md
+1
Original file line number
Diff line number
Diff line change
@@ -7,3 +7,4 @@ description: Overview of how to contribute to society projects
7
7
We encourage society members \(past and present\) to get involved with the projects public on the [Hacksoc Github](https://github.com/AbertayHackers) -- that includes the wiki!
8
8
9
9
The information in this section will show you how you can get involved.
Copy file name to clipboardExpand all lines: contributing/contributions/how-to.md
+1
Original file line number
Diff line number
Diff line change
@@ -26,3 +26,4 @@ With this done, you can now edit or add wiki files. Once you've made the changes
26
26
2. Commit the changes locally: `git commit -m "description of the changes you've made"`
27
27
3. Push the changes to your fork on Github: `git push`
28
28
4. Finally, go to [https://github.com/\[username\]/gitbook-wiki/pulls](https://github.com/[username]/gitbook-wiki/pulls) and open a pull request to request that your changes be added to the site.
Copy file name to clipboardExpand all lines: help-guides/home-lab/README.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -189,8 +189,9 @@ The router you are currently using is probably whatever was supplied by your ISP
189
189
190
190
Though you have almost definitely used ethernet cable before, it will be useful to know about different types of ethernet cable, and how to make your own, before investing in some for your lab.
191
191
192
-
For the standard Homelab the LAN Connection will be established with a RJ-45 headed Ethernet cable. This would likely connect into a [Switch](./#switch) or [Router](./#router) as discussed above.
192
+
For the standard Homelab the LAN Connection will be established with a RJ-45 headed Ethernet cable. This would likely connect into a [Switch](./#switch) or [Router](./#router) as discussed above.
It is recommended that the minimum Category for Ethernet cables for Homelabs would be Cat5e; as it is able to reach speeds of up to 1 Gbps. The Category of your Ethernet cable is very simple yet important as it could be the bottleneck of your interconnectivity. Bandwidths of >1Gbps is **strongly** recommended for NAS setups along with RAID to ensure said bandwidth can be properly saturated.
Copy file name to clipboardExpand all lines: help-guides/home-lab/pihole.md
+2-3
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: How to set up a PiHole
4
4
5
5
# PiHole
6
6
7
-
*An install guide by Kyle*
7
+
_An install guide by Kyle_
8
8
9
9
Using a Raspberry Pi as the networks DNS server, [Pi-Hole](https://pi-hole.net/) “blocks ads for all your devices without the need to install client-side software. The Pi-hole blocks ads at the DNS-level, so all your devices are protected.”[1\)](https://wiki.hacksoc.co.uk/guides/pihole#fn__1) This also allows ad blocking on devices which do not support it \(think mobile/tablet\)
10
10
@@ -37,13 +37,11 @@ This guide has been tested using Raspbian Jessie, macOS Sierra 10.12.3 & PiFille
37
37
5. run route -ne and note the default gateway IP address \(routers IP address\)
38
38
6. Now we need to edit the dhcpcd.conf file using `sudo vim /etc/dhcpcd.conf`
39
39
7. The following information needs to be added to the bottom of the file:
40
-
41
40
8.```text
42
41
interface eth0 (interface ethernet)
43
42
static ip_address=192.168.0.88 # the ip to give the Pi
44
43
static routers=192.168.0.1 # the gateway/routers IP
45
44
```
46
-
47
45
9.`sudo reboot` will allow all changes to take effect
48
46
10. To check it has worked run `ifconfig` and eth0 should be assigned 192.168.0.88 \(or whatever you chose\)
49
47
11. Enabling SSH: this is on by default on the Raspberry Pi - if it is not working run `sudo raspi-config` and enable it in the advanced > ssh menu.
@@ -76,3 +74,4 @@ You cannot edit the DNS servers on the Virgin HomeHub and after searching around
76
74
* . `Network and Sharing Centre > Click on the connection type > Properties > Internet Protocol Version 4 (TCP/IPv4) > Properties > Select “Use the following DNS server addresses”` and add in the IP address of the Pi
77
75
78
76
[1\)](https://wiki.hacksoc.co.uk/guides/pihole#fnt__1) Quoted from their [GitHub](https://github.com/pi-hole/pi-hole)
Copy file name to clipboardExpand all lines: help-guides/networking/remote-access-to-your-abertay-network-drive.md
+1
Original file line number
Diff line number
Diff line change
@@ -42,3 +42,4 @@ If your Desktop Environment is Unity, Gnome, XFCE or LXDE, that's what you want.
42
42
If your DE is KDE Plasma or LXQT, that's what you want
43
43
44
44
Warning: KNetAttach\(the script for connecting to webdav folders in KDE Plasma\) is currently broken. You can still connect to the network drive by putting `webdavs://myfiles.abertay.ac.uk/myfiles/hcwebdav/Home drive/` into the full path in Dolphin
Copy file name to clipboardExpand all lines: help-guides/networking/wireshark.md
+1
Original file line number
Diff line number
Diff line change
@@ -22,3 +22,4 @@ You can capture packets from an interface on a remote machine using SSH and tcpd
22
22
On Mac/Ubuntu this is built into Wireshark by default and you can select it as an option from the capture interface screen. \(I think on Windows there's a plugin. Go find out and update this wiki!\)
23
23
24
24
You just give it the SSH details and it runs tcpdump on the remote machine.
Copy file name to clipboardExpand all lines: help-guides/programming-scripting/awk.md
+1
Original file line number
Diff line number
Diff line change
@@ -38,3 +38,4 @@ awk '/hello/ {print $0}'
38
38
will print every line in the file which contains the string 'hello' \(note the '/' characters wrapping the text to match - these are required by the interpreter\). Any regex can be used in this context.
39
39
40
40
Any commands included within the '{}' characters will be performed on the line matching the pattern. If there are multiple matches, AWK will step through each match and perform these instructions on each line in turn. Multiple commands can be included here, separated by a semi-colon \(e.g. ''awk '/test {$output=$1+“ ”\).
Copy file name to clipboardExpand all lines: help-guides/programming-scripting/markdown.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ The number of hashes you add should correspond to the level of headings you want
36
36
### This would be heading level 3
37
37
```
38
38
39
-
And so on. These headings \(as with a lot of Markdown's syntax\) have a direct equivalent in HTML, the markup language that webpages use for formatting. The equivalent would be using the \,\, and \ tags respectively
39
+
And so on. These headings \(as with a lot of Markdown's syntax\) have a direct equivalent in HTML, the markup language that webpages use for formatting. The equivalent would be using the \,\, and tags respectively
40
40
41
41
### Alternate Syntax
42
42
@@ -218,3 +218,4 @@ To "Escape" characters, or make special characters \(such as \*, >, \`, etc.\
Copy file name to clipboardExpand all lines: help-guides/programming-scripting/python-scripting.md
+1
Original file line number
Diff line number
Diff line change
@@ -13,3 +13,4 @@ Main Highlights
13
13
The [autopep8](https://github.com/pbrod/autopep8) package "automatically formats Python code to conform to the PEP 8 style guide".
14
14
15
15
In the Atom IDE, compliance can be set with the following steps: 1. Setting/ Preferences > Packages > Search “language-python” > Settings > Python Grammar > Tab Length > Set to “4” 2. Setting/ Preferences > Editor > Tab Type > Set to “Soft”
Next we mount the partitions \(we don't need to mount swap\)
101
101
102
-
```sh
102
+
```bash
103
103
mount /dev/sda2 /mnt # root partition
104
104
105
105
mkdir /mnt/boot # make dir for boot and mount
@@ -165,7 +165,7 @@ Next, create and open a file located at `/etc/locale.conf`, and add \(in my case
165
165
166
166
Next we have networking. At the moment, the Arch installation environment has a series of preconfigured network settings \(in `systemd`\) in order to facilitate required installations, however the full post-installation system still needs a configured network. In order to configure this, run the following:
167
167
168
-
```sh
168
+
```bash
169
169
systemctl enable systemd-networkd # networking
170
170
systemctl enable systemd-resolved # dns resolution
171
171
```
@@ -174,7 +174,7 @@ After this, run the `ip addr` command, this should show two sets of data, the fi
174
174
175
175
Create and edit a file located at `/etc/systemd/network/20-wired.network` and add the following lines:
176
176
177
-
```conf
177
+
```text
178
178
[Match] Name=ens33
179
179
[Network] DHCP=yes
180
180
```
@@ -189,7 +189,7 @@ If you're on an intel CPU, install `intel-ucode` using `pacman`
189
189
190
190
The final stage to installing Arch is getting the bootloader in place, this is the software that is responsible for booting the computer. By far the most popular bootloader is `GRUB`, which we will be installing to the `EFI` partition in `SDA1`
191
191
192
-
```sh
192
+
```bash
193
193
pacman -S grub efibootmgr # get grub and an efi boot manager
Copy file name to clipboardExpand all lines: help-guides/software/operating-systems/kali-walkthrough.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ In the event that you are unable to get access to VMWare Workstation Pro, Workst
21
21
22
22
Visit the [Kali Linux Downloads](https://www.kali.org/downloads/) page and download the most recent _installer_ version of the OS, I'd personally recommend a torrent download purely to reduce server capacity on OffSec's end \(it's only nice\). Ensure that \(unless you are actually running a 32 bit operating system\) you grab the 64 bit image, this is purely so there are no unforeseen compatibility issues down the line.
23
23
24
-

24
+

25
25
26
26
the file you'll be downloading is a `.iso` file, don't forget to put it in a place you'll remember!
27
27
@@ -120,3 +120,4 @@ After going through the reboot sequence and past GRUB, you should see this, inse
Copy file name to clipboardExpand all lines: help-guides/software/operating-systems/macos.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -237,10 +237,11 @@ For general information see [Programmming](../../programming-scripting/tools.md)
237
237
## Books
238
238
239
239
*[Mac OS X Internals: A Systems Approach](http://osxbook.com/) - Amit Singh \(2006\)
240
-
*[The Mac Hacker's Handbook](https://www.wiley.com/en-us/The+Mac+Hacker's+Handbook-p-9780470395363) - [Charlie Miller](https://twitter.com/0xcharlie) and [Dino Dai Zovi](https://twitter.com/dinodaizovi)\([Amazon](https://www.amazon.co.uk/Mac-Hackers-Handbook-Charlie-Miller/dp/0470395362)\)\(2009\)
240
+
*\[The Mac Hacker's Handbook\]\([https://www.wiley.com/en-us/The+Mac+Hacker's+Handbook-p-9780470395363](https://www.wiley.com/en-us/The+Mac+Hacker's+Handbook-p-9780470395363)\) - [Charlie Miller](https://twitter.com/0xcharlie) and [Dino Dai Zovi](https://twitter.com/dinodaizovi)\([Amazon](https://www.amazon.co.uk/Mac-Hackers-Handbook-Charlie-Miller/dp/0470395362)\)\(2009\)
241
241
*[Mac OS X and iOS Internals](http://www.wrox.com/WileyCDA/WroxTitle/Mac-OS-X-and-iOS-Internals-To-the-Apple-s-Core.productCd-1118057651.html) - [Jonathan Levin](https://twitter.com/Morpheus______)\([Amazon](https://www.amazon.co.uk/Mac-OS-IOS-Internals-Programmer/dp/1118057651)\)\([Legit PDF](http://newosxbook.com/MOXiI.pdf)\)\(2012\)
242
242
243
243
### MacOS and iOS Internals \(Levin\)
244
244
245
245
*[MacOS and iOS Internals, Volume I - User Mode](http://newosxbook.com/index.php) - [Jonathan Levin](https://twitter.com/Morpheus______)\([Amazon](https://www.amazon.com/MacOS-iOS-Internals-User-Mode/dp/099105556X)\)\(2017\)
0 commit comments