Quote More …”>

PND4

/dev/notes

Markdown Template

A template for markdown posts. Covers some frequently used syntax.

Images

Markdown
1
<img class="center" src="/images/that-image.jpg">

Quote

More.
Notes.

Code

example.sh

#!/bin/bash
    test 1 -eq 1 && echo true || echo false

You can also insert preformatted text using backtick's.

Also see Octopress's Documentation[^1]

List

  • item 1
  • item 2
  • item 3

References

See Wordpress's Cheatsheet[^2] for more examples of Markdown.

Useful Links

Octopress.Org

[^1]: Octopress Documentation [^2]: Wordpress Markdown Reference

Ruby Installation

Ruby can be confusing to install. Make sure to plan out if per-user environments are going to be used, or system-wide (Ruby, Gems, etc installed by root).

Installing

Instead of using rvm or rbenv, stick to installing Ruby system-wide with pacman.

1
pacman -S ruby

Paths

Caution editing your .bashrc or .zshrc.. root does not need to have a GEM_HOME or ~/.gem/ruby/2.0.0 added to its PATH

~/.gemrc

For root, create .gemrc so that when gems are installed as root, it uses the system-wide directory.

1
gem: --no-user-install

Optionally, create user's .gemrc as well, although it'd be the same as in /etc/gemrc, which is automatically made by the ArchPkg

1
gem: --user-install

Updating Gems

Update system: sudo gem update –system Update user: gem update

Useful Links and References

Archwiki: Ruby

Note from ArchDev about .gemrc

Wifi Pinapple Mark 5

Advanced standalone pentesting tool for wireless networks.

Specs

1
2
AR9331 and RTL8187
16mb ROM / 64mb DDR2 RAM

Software

Available Pentest Packages include aircrack-ng, dsniff, easy-creds, ettercap, hping3, httptunnel, karma, kismet, macchanger, mdk3, ngrep, nmap, nodogsplash captive portal, privoxy, ptunnel, snort, sslsniff, sslstrip, ssltunnel, stunnel, tcpdump, tor, and reaver

–HakShop

Useful Links and References

HakShop: Wifi Pinapple Mark 5

wifipinapple.com