1/10 – 10 Days of [G]it

Git Clone —-> Clones a repository from git hub onto your computer ( active .git repository will be Inside )

  • $ cd < Repository Name >
  • $ git commit -m < Commit Msg ? >

Execute (Run) Python Script [ Interpreter Process ]

( MacOs / Linux come with Python Installed ) – [ Download Anaconda ]

  • Module (?) —-> Imported Python (.py) Script

Running .py Script from terminal

  1. Tex Editor : Vim / eMac / Notepad++
  2. ‘cd’ –> To the location of my .py File
  3. ‘Python3 <Script Name>’

2/10 – 10 Days of [G]it

On your local Machine, open your bash shell and change your current working directory to the location where you would like to clone your repository.

Note that here we are using Bash Command – “cd” ; which means Change Directory

List all the Files in your git directory by using the command “ls -a” after you “cd”

* If you list all the files in this directory ( using ls -a ), you should see all of the files that exist in your GitHub repository:

ls -a 

.git  .gitignore  LICENSE  README.md

[ Alternatively, we can view the local repository in the finder (Mac), a Windows Explorer (Windows) window, or GUI file browser (Linux). ]

Command Lines :

  1. Bash commands: These are commands that are native to bash / shell. They allow you to navigate around your computer, explore directory structures, create and manipulate files and directories, and more. (e.g. ls, cd, mkdir, etc)
  2. Git commands: These are commands that are specific to git and will only be available if you have git installed on your computer. Git specific commands will always started with a call to git (e.g. git status, git clone, etc)

Add and Commit :

You will use the add and commit functions to add and commit changes that you make to git.

  • git add
    Takes a modified file in your working directory and places the modified version in a staging area.
  • git commit
    Takes everything from the staging area and makes a permanent snapshot of the current state of your repository that is associated with a unique identifier.

These two commands make up the bulk of many workflows that use git for version control.

3/10 – 10 Days of [G]it

Started successfully running first tool ‘holehe’ ( Python setup.py install)

[ setup.py may be replaced by another Python File ; Can be found with command ‘ls’ ]

Many other OSINT (python) Repositories on GitHub : (Cloned and Saved)

Used Commands :

  • Sudo zsh
  • pwd (Current Location)
  • cd (Change Directory)
  • ls (List options)
  • bash secrapper.bash “query” (“Runner” bing Scrapper)
  • rm -r [or] -rf ‘ /repo ‘ (Remove cloned Repo) – – – * Remove output file after a web crawl
  • -h / –help / — help all / –manual (HELP)
  • pyhton3 setup.py install (Run Repo)
  • apt-get update (update)
  • pip install -r requirements.txt (Load requirements to run Repo)
  • docker build ( Build Docker ? ? ? ) ( -h )
  • import ” whatever file ” ( What is it used for ?? )

4/10 – 10 Days of [G]it

OnionSearch still showing error :

” Exception occurred: SOCKHTTPSConnectionPool: (host= ‘mysydqstlz2kzerdg .onion’ port =80) max tries exceeded with url ….. “

Was told to change and verify the Tor Proxy :

” curl –socks5 localhost:9050 –socks5-hostname localhost:9050 -s https://check.torproject.org | cat | grep -m 1 Congratulations | xargs “

Output : ” curl: (7) Failed to connect to localhost port 9050: Connection Refused “

[ Needs To be Troubleshooted More ]

Aircrack-ng :

Attempt on ‘Playasball’ WPA2 Network with Rockyou.txt Wordlist …. (Fail)

[ HashCat would be used next after Network Passphrase is Cracked ] ?

{ Update* – Possibly not aircrack-ng is rehashing passphrase already . when cracked the plain text is shown }

Other Cracking Options :

– John The Ripper

– Reaver

  • Kismet
  • – ETC . . .

5/10 – 10 Days of [G]it

” sudo apt-get update sudo apt-get dist-upgrade ” – Command crashed my Kali Linux Graphic Card (Disk) …. Take Break from Kali for a day.

Re-download a New Kali Linux VM ..

Solution found online (did not work) –

” Then my Login GUI screen appeared but whenever I type user name and password kali linux keep asking me again and again the username and password. I can’t get in to the system. However I can login in text mood in different tty by pressing using ctrl+alt+f2. “

[6/10] [7/10] – 10 Days of [G]it

[6/10] – Start ” TyHckM3 /path/outline/beginner “

Network Fundamentals :

OSI Model (Open System Interconnection)

[ Top — > Down ]

7. Application (API)

6. Presentation

5. Session

4. Transport

3. Network

2. Data Link

  1. Physical

[7/10] – Port Scanning ( Writing Python3 Code)

Begin Making ; Banner Grabber (Server)

[8/10] [9/10] – 10 Days of [G]it

[8/10] – Fundamentals Explained :

  • Application – API exclusive with application
  • Presentation – Takes Data from API for compress/encryption if needed
  • Session – Takes formatted data and makes connection with Network being used (Synchronized Communication) Ex. Browser running many tabs simultaneously
  • Transport – TCP using ‘3 way-handshake Protocol’ facilitating the transmission between both computers (Segments of Data)
  • Network – Finds the location (address) of the request (Logical Addressing) Ex. IP address / ‘Most common used : IPV4’
  • Data Link – Focuses on physical address of the Transmission ; Takes packets from Network Layer (w/ IP attached) and adds the unique physical MAC address
  • Physical – Hardware of Computer / Binary Data sent in and out of Hardware

[9/10] – Networking Tools [ ‘ man <tool> ‘ ~ will display Manual ]

  • Traceroute – Maps the path your request makes as it heads to the target machine
  • Ping – Tests weather connection is possible for a site . The result will output the IP of the server hosting the site (‘the recap .org = anubian3anubianhost .com’)
  • Whois <Domain> – Can query public information about a domain such as hosting Server and Registrars

[ DNS = Domain Name System ] – Finds the IP for a Specific Domain /

  • Sent through “recursive DNS Server”3

10/10 – 10 Days of [G]it

Inspecting a CSV or JSON File (Through Terminal) – [“cat” Command] :

The cat (short for “concatenate“) command is one of the most frequently used command in Linux/Unix like operating systems. cat command allows us to create single or multiple files, view contain of file, concatenate files and redirect output in terminal or files. 

( Ex. “ cat file.csv | sed -e ‘s/,,/, ,/g’ | column -s, -t | less -#5 -N -S “ ) 

To use for your files, simply replace file.csv in the above example with your file’s name. The -#5 determines how many columns to scroll when using the left and right arrow keys. You can increase or decrease this as needed to make navigating easier.

Next Topics – 

* Web Scraping ( Py. [+] BeautifulSoup )

* Start download of “ Open B.(Skipper) – 2 “

* Continue trouble shoot – AP.