🐝
OSCP 2022 Materials
  • General
    • Whoami
    • Resources
    • Frequently Asked Questions
    • Shared Resource
  • Enumeration
    • Foreword
    • FTP
    • SMTP
    • DNS
    • Finger
    • HTTP/ HTTPS
      • Login Attacks
        • PHP Logins
      • XSS
      • LFI ( LFI -> RCE )
      • RFI ( RFI -> RCE )
      • CMS Exploitation
        • Wordpress
        • Magento
        • Bludit
        • Tomcat
        • Drupal
      • PHPMyAdmin
    • Kerberos
    • POP3
    • SMB
    • IMAP
    • SNMP
    • IRC
    • RSync
    • MSSQL
    • NFS
    • REDIS
    • Port Forwarding
  • Linux Post Exploitation
    • Post Exploit Checks
    • Pivoting ( ProxyChains )
  • Windows Post Exploitation
    • Post Exploit Checks
    • Active Directory ( Recon -> PE)
    • Notes
      • Powershell
      • Commands
  • Buffer Overflow
    • Hackthebox
    • TryHackMe
  • Mobile Pentesting
    • Android Pentesting
      • Lab TroubleShoot
      • Root Detection Bypass ( Manual )
      • Physical Device
  • MISC
    • Useful
    • Web
    • Linux
    • Application Specific
    • Programming Notes for Offensive Security
      • Python
    • Forensics
      • Disk Forensics
    • Inspection
    • Troubleshooting
      • Mouse Flickering
Powered by GitBook
On this page
  • Vim
  • Firefox
  • VSCODE
  • Obsidian

Was this helpful?

  1. MISC

Application Specific

Vim

  • Pane Spliting

# vertical split
<ESC>
ctrl+w + l
# or
<ESC>
:vsplit file.md

# horizontal split
<ESC>
ctrl+w + s
# or
<ESC>
:split file.md

# navigation
# move to the right pane
<ESC>
ctrl+w + l
# move to the down pane
<ESC>
ctrl+w + j
# move to uper pane
<ESC>
ctrl+w + k

# size adjustement
# width increase and decrease
<ESC>
ctrl+w + SHITFT+> #increase
ctrl+w + SHITFT+< #decrease

# height increase and decrease
<ESC>
ctrl+w + SHITFT++ #increase
ctrl+w + SHITFT+- #decrease
ctrl+w + SHITFT+= #equalsize
  • Multiple files editing

# only the first file will be shown in the console
vi file1.md file2.md file3.md

# list the buffers
<ESC>
:ls
# switch buffers
<ESC>
:buf <number>
# add a new file to the buffer
<ESC>
:e ~/.config/nvim/init.vim

Firefox

  • Disable RESTORE AT STARTUP

about:config
browser.sessionstore.resume_from_crash --> OFF
  • Disable firefox from adding "https://" from simple search in search bar

  • Eg: 10.10.10.10/endpoint will automatically search with the default search engine disable it with

about:config
keyword.enabled --> False
  • Disable auto suggestions from previous searches of your history

Settings --> Privacy and Security --> Address Bar (Uncheck Everything)

VSCODE

  • Annoying reportMissingImports when importing libraries like pwn

# file to edit: ~/.vscode/extensions/ms-python.vscode-pylance-2022.5.2/package.json
LIne 212
Change "default":"warning" to "default":"none"

Obsidian

  • Plugins that I use

Folder Focus Mode --> Only shows the current folder in the file explorer
Admotion --> Easy note highlighting
Dynamic Table of Contents --> TOC based on YAML Headers
Kanban --> Kanvan board
Markdown Prettifier --> Tags and notes update timestamps
Ozan's Image Editor --> Shows Image even in editor mode
Privacy Glasses --> Blurs notes, only shows where the mouse hovers
txtasmd --> Open .txt files as .md files
PreviousLinuxNextProgramming Notes for Offensive Security

Last updated 2 years ago

Was this helpful?