Comment Variable String Integer Boolean Array Object For Loop // Alternate syntax for (var i in things) // Iterate dictionary' ) }} While Loop If, Else if, Else Function Class set stuff(stuff) get stuff() showStuff() }' ) }} continue reading
Best Practices Ruby Style Guide Rails Testing Best Practices Comment Variable String Stings are mutable in Ruby HERE Doc HERE are used for multi-line strings Symbol Symbols are similar to strings except they are immutable Integer Boolean Array Hash # New syntax - Ruby >= 1.9 For Loop #...continue reading
Best Practices Python Style Guide Comment Doc String Variable String Integer Boolean List Tuple Dictionary For Loop While Loop If, Elif, Else Function Class Using Modules continue reading
Dynamic host configuration protocol (DHCP) is used to automatically assign IP addresses to hosts in a network. DHCP is defined in rfc2131. DHCP DHCP uses UDP as its transport protocol. Messages are passed on ports 67 (client to server) and 68 (server to client). There are four...continue reading
Address resolution protocol (ARP) is a method for mapping IPv4 addresses to MAC addresses. There are a few different flavours of ARP that have evolved over the years. ARP Regular ARP maps an unknown MAC address to a known IPv4 address and is defined in RFC826. ARP Operation ...continue reading
TCP SYN Scan TCP SYN scans do not perform a full TCP 3-way handshake. A RST is sent to the server when a SYN/ACK is received. The flow between the NMAP client and server looks like this: NMAPSERVER NMAPSYN-->SERVER NMAPSERVER NMAPSERVER ...continue reading