postmarketOS on Mozilla Flame

postmarketOS is a touch-optimised and pre-configured Alpine Linux . It can be installed on smartphones and other devices. It is in a very early, experimental state and not usable for most people yet. pmbootstrap allows installation and development of pmOS. The Flame device is the official reference device for developing, testing, and debugging Firefox OS and open web apps. postmarketOS Website

Documentation

Useful Linux commands - part 2

Below are some useful Linux commands for penetration testing , target reconnaissance and capability assessment. Use them for good, not for evil. Part 1 is here .

Identify operating system, kernel version

$ cat /etc/issue
$ cat /etc/*-release
$ cat /etc/lsb-release
$ cat /etc/redhat-release
$ cat /proc/version   
$ uname -a
$ uname -mrs 
$ rpm -q kernel 
$ dmesg | grep Linux
$ ls /boot | grep vmlinuz-

DNS dig

dig (domain information groper) is a network administration command-line tool for querying Domain Name System (DNS) servers. dig is useful for network troubleshooting and for educational purposes. dig can operate in interactive command line mode or in batch mode by reading requests from an operating system file. - The manual

When a specific name server is not specified in the command invocation, it will use the operating system’s default resolver, usually configured via the resolv.conf file. Without any arguments it queries the DNS root zone .

Make sure you read the dig manual here or on your Linux machine:

$ man dig

For start, let’s query Google’s DNS server for all A records that point to a specific DOMAIN:

$ dig A +additional +multiline +trace +dnssec <DOMAIN>. @8.8.4.4

Generating an invite code for Hackthebox.eu

Hack The Box is an online platform allowing you to test your penetration testing skills and exchange ideas and methodologies with other members of similar interests. It contains several challenges that are constantly updated. Some of them simulating real world scenarios and some of them leaning more towards a CTF style of challenge. Homepage

Extract Safari tab URLs

Sometimes you need to grab the list of URLs from all the currently opened Safari tabs, maybe when you want to go work on something else and keep the list so you can go back later. You can do it using Apple’s OSA and Javascript: