Skip to content

Instantly share code, notes, and snippets.

Avatar

Onur Can Yükrük haxcited

View GitHub Profile
View *scratch*.el
git commit -m "HTB folder added"
View *scratch*.el
;; This buffer is for text that is not saved, and for Lisp evaluation.
View init.el
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
;;add the packages which you want to install
(defvar my-packages '(;;buradan ihtiyaclari belirle onlari ac sadece
anzu
ace-jump-mode
all-the-icons
View init.el
;;key-chord
(require 'key-chord)
(key-chord-mode +1)
(key-chord-define-global "jj" 'ace-jump-word-mode)
(key-chord-define-global "jb" 'helm-buffers-list)
(key-chord-define-global "jk" 'helm-show-kill-ring)
(key-chord-define-global "jg" 'gist-region)
View *scratch*.el
(require 'package)
(setq package-archives
'(("gnu" . "https://elpa.gnu.org/packages/")
("melpa" . "https://stable.melpa.org/packages/")
("melpa-unstable" . "https://melpa.org/packages/")))
(setq package-archive-priorities
'(("melpa" . 50)
("gnu" . 10)
View *scratch*.el
;;paredit
(autoload 'paredit-mode "paredit" "Minor mode for pseudo-structurally editing Lisp code." t)
(add-hook 'emacs-lisp-mode-hook (lambda () (paredit-mode +1)))
(add-hook 'lisp-mode-hook (lambda () (paredit-mode +1)))
(add-hook 'lisp-interaction-mode-hook (lambda () (paredit-mode +1)))
(add-hook 'clojure-mode-hook (lambda () (paredit-mode +1)))
(add-hook 'clojure-repl-mode-hook (lambda () (paredit-mode +1)))
(provide 'paredit-settings)
View *scratch*.el
(defvar my-packages '(;;buradan ihtiyaclari belirle onlari ac sadece
anzu))
View bounty-prep.sh
#!/usr/bin/env bash
echo "Enter name of the program: "
read PROGNAME
echo "enter name of the seed domain for amass "
read SEED
BOUNTYD=$HOME/01/bounty
PLATFORM=h1
# create project directory
# ascr auto screenshot ,mscr manual screenshot
View htb-prep.sh
#!/usr/bin/env bash
# prep & organization script for hackthebox machines. Creates directories, searches and replaces
# ip address/name of of the box in common commands used in recon etc.
echo "Enter name of the box : "
read boxname
echo "Enter ip address of $boxname: "
read boxipad
# create directories
mkdir -p ~/hackthebox/$boxname/{wordlist,nmap,exploits,downloads,uploads} &&