Skip to content

Instantly share code, notes, and snippets.

View RakhithJK's full-sized avatar

RakhithJK

View GitHub Profile
Linkedin = {
config: {
scrollDelay: 3000,
actionDelay: 5000,
nextPageDelay: 5000,
// set to -1 for no limit
maxRequests: -1,
totalRequestsSent: 0,
// set to false to skip adding note in invites
addNote: true,
@RakhithJK
RakhithJK / gist:29c856dc03c4f0674141fe7fad3a70de
Created November 2, 2024 17:00 — forked from daniel-marschner/gist:4001503
Checks if the given domain is reachable as long as there is a 200 OK coming back. Super simple! ;)
require 'net/http'
require 'date'
# Fetches the first argument passed to the script, if no is given
# it raises and error with this simple custom message.
unless @domain = ARGV.first
raise "You need to pass in a domain like www.6wunderkinder.com"
end
puts "[#{DateTime.now}] Started the DNS check for #{@domain}..."
@RakhithJK
RakhithJK / dnscheck.rb
Created November 2, 2024 17:00 — forked from michenriksen/dnscheck.rb
Loops until given domain is resolvable. Used to check when new domains are live.
require 'resolv'
require 'date'
unless @domain = ARGV.first
puts "DNS Checker\n\n"
puts "Performs a DNS lookup on a domain until it can be resolved.\n\n"
puts "USAGE:"
puts " ruby #{__FILE__} <domain> [<sleep>]\n\n"
@RakhithJK
RakhithJK / viewsource.sh
Created November 2, 2024 17:00 — forked from michenriksen/viewsource.sh
Simple function to view the source code of a web page in a terminal with syntax highlighting. Very convenient for checking out potentially malicious websites before rendering them in a browser. [Pygments](http://pygments.org/) is used for the syntax highlighting and can be installed with `sudo easy_install pygments`. Copy/Paste the function into…
function viewsource {
/usr/bin/curl --user-agent "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0" -s "$1" | /usr/local/bin/pygmentize -g -O encoding='utf-8'
}
@RakhithJK
RakhithJK / mailspoof.rb
Created November 2, 2024 16:58 — forked from michenriksen/mailspoof.rb
A Ruby script for spoofing mail directly to the destination's SMTP server. This is not my work, got it from https://defuse.ca/email-spoofing-in-ruby.htm
# A Ruby script for spoofing mail directly to the destination's SMTP server.
# https://defuse.ca/email-spoofing-in-ruby.htm
#
# This code is in the public domain. Do whatever you want with it.
#
# Usage: mailspoof.rb <options>
# -t, --to ADDRESS Send mail to this email address
# -f, --from ADDRESS Send mail from this email address
# -s, --subject SUBJECT Mail subject
# -m, --mail FILE File containing email message
@RakhithJK
RakhithJK / anti-theft
Created November 2, 2024 16:57 — forked from michenriksen/anti-theft
Simple anti-theft script for Debian systems. When the machine enters battery mode while in lockscreen/screensaver, kill KeePassX, Chromium, Firefox, dismount TrueCrypt volumes and shut down.
#!/bin/sh
# Put this file in /etc/pm/power.d/ and make it executable
case $1 in
true)
# Replace <username> with your actual username.
# You might need to use gnome-screensaver-command instead
if DISPLAY=:0.0 XAUTHORITY=/home/<username>/.Xauthority sudo -u <username> cinnamon-screensaver-command -q | egrep -q 'is active'; then
# Kill KeePassX
killall keepassx
@RakhithJK
RakhithJK / dnsdb_crawl.rb
Created November 2, 2024 16:57 — forked from michenriksen/dnsdb_crawl.rb
Quick Ruby script for extracting domains from dnsdb.org
#!/usr/bin/env ruby
require "net/http"
require "uri"
require "cgi"
require "resolv"
require "optparse"
require "socket"
require "timeout"
@RakhithJK
RakhithJK / windows11-ms-settings-uri-commands.csv
Created October 2, 2024 15:44 — forked from dbilanoski/windows11-ms-settings-uri-commands.csv
Complete List Of Windows 11 MS-Settings URI Commands
Category Settings Page URI Command
Accounts Access work or school ms-settings:workplace
Accounts Email & app accounts ms-settings:emailandaccounts
Accounts Family & other people ms-settings:otherusers
Accounts Set up a kiosk ms-settings:assignedaccess
Accounts Sign-in options ms-settings:signinoptions
Accounts Sync your settings ms-settings:sync
Accounts Windows Hello setup ms-settings:signinoptions-launchfaceenrollment
Accounts Your info ms-settings:yourinfo
Apps Apps & Features ms-settings:appsfeatures
@RakhithJK
RakhithJK / windows11-shell-folders-by-name.csv
Created October 2, 2024 15:43 — forked from dbilanoski/windows11-shell-folders-by-name.csv
Complete List Of Windows 11 Shell Folders By Name
Name Shell Command Shortcut
3D Objects explorer "shell:3D Objects"
AccountPictures explorer "shell:AccountPictures"
AddNewProgramsFolder explorer "shell:AddNewProgramsFolder"
Administrative Tools explorer "shell:Administrative Tools"
AppData explorer "shell:AppData"
AppDataDesktop explorer "shell:AppDataDesktop"
AppDataDocuments explorer "shell:AppDataDocuments"
AppDataFavorites explorer "shell:AppDataFavorites"
AppDataProgramData explorer "shell:AppDataProgramData"