• 1 <= s.length, t.length <= 5 * 104
  • s and t consist of lowercase English letters.
Input: s = "anagram", t = "nagaram"
Output: true
Input: s = "rat", t = "car"
Output: false
  1. C++ String Operations


  • go to the download page of Unity, click to Download Unity Hub
  • double click on the UnityHubSetup file we download
  • agree to all terms of services and install the Unity Hub
  • open Unity hub and click the “Installs” tab along the left side and click to Add a new Unity version
  • we should select 2020.3.X LTS (commonly Recommend Release) and then click next. …

  1. Introduction to Stack Overflow


$ seclab tut02
$ cd ~/tuts/lab02/tut02-shellcode/
$ ls -al
total 44
drwxrwxr-x 2 vagrant vagrant 4096 May 10 09:57 .
drwxrwxr-x 3 vagrant vagrant 4096 May 6 03:25 ..
-rw-r--r-- 1 vagrant vagrant 535 May 9 21:54 Makefile
-rw-r--r-- 1 vagrant vagrant 11253 May 9 21:54 README
-rw-r--r-- 1 vagrant vagrant 1090 May 9 21:54 shellcode.S …

  1. Ghidra
$ cd ~/cs6265-tut/
$ curl https://ghidra-sre.org/ghidra_9.2.3_PUBLIC_20210325.zip > ghidra_9.2.3_PUBLIC_20210325.zip
$ unzip ghidra_9.2.3_PUBLIC_20210325.zip
$ cd ghidra_9.2.3_PUBLIC
$ chmod 777 ghidraRun
$ ./ghidraRun

  1. GDB
  • Initiate debugging
$ gdb <filename>
  • Set breakpoint at a specific location (e.g. main)
(gdb) b main
  • Run the debugged program
(gdb) r
  • Check the register values
(gdb) i r
  • Examine (briefly, x) the memory contents of an instruction
(gdb) x/1i 0x80492c9
  • Examine (briefly, x) the memory contents of one instruction and its next 9 instructions
(gdb) x/10i 0x80492c9
  • Examine (briefly, x) the memory contents of a string
(gdb) x/1s 0x80492c9
  • Show the value of a specific register by…

  • Step 1. Register your account and receive an api-key here (note that this address changes every year and you need to go to the official website to get the latest one).
  • Step 2. Log in with your api-key in the email.
  • Step 3. ssh connect to the server for a particular lab with the information provided…

  1. Basic Setups
$ vagrant ssh
$ seclab tut01
$ cd ~/tuts/lab01/tut01-crackme
$ ls
README crackme0x00 crackme0x01 crackme0x02 crackme0x03
$ ./crackme0x00
IOLI Crackme Level 0x00
Password: 1234
Invalid Password!


  1. Parts of the Guitar
  • Body: the main part of the guitar
  • Soundboard: the top piece of wood on the body
  • Soundhole: the round part on the middle of the body
  • Rosette: the decorated part along the edge of the soundhole.
  • Bridge: the wood used to connect the strings to the soundboard
  • Saddle: means a small piece of hard material like a piece of bone that supports the strings on the bridge
  • Strings: means the vibrating elements that produce sound
  • Neck: the board where we put our left-hand fingers
  • Fretboard: on top of the neck, traditionally made by rosewood or maple


  1. Basic Installation
  • Download and install the latest version of VirtualBox here.
  • Download and install the latest version of vagrant here.
  • Windows: Download and install git here.
$ sudo apt-get install virtualbox
$ sudo apt-get install vagrant
$ cd ~
$ mkdir cs6265-tut
$ cd cs6265-tut
$ wget https://tc.gts3.org/cs6265/tut/tut.tar.gz

Adam Edelweiss

Knowledge is power, especially when it‘s shared. Articles @ https://medium.com/adamedelwiess/homepage/home

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store