Skip to content

Instantly share code, notes, and snippets.

View ronsen's full-sized avatar

Ronald Nababan ronsen

View GitHub Profile
@ronsen
ronsen / gempa.sh
Created March 18, 2024 05:10
Show Indonesian recent earthquake
#!/bin/sh
curl -s https://data.bmkg.go.id/DataMKG/TEWS/autogempa.json | jq
@ronsen
ronsen / attack.py
Last active December 7, 2023 04:34
sending random email and password to a certain url
#!/bin/python
import random
import requests
import secrets
import time
import string
from faker import Faker
url = "" # phising url you need to attack
@ronsen
ronsen / wp-login.php
Last active November 1, 2023 13:10
Fake wordpress login page
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Log In</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css">
</head>
@ronsen
ronsen / .bashrc
Created October 23, 2023 14:22
oh my posh random theme each time terminal is launched
theme=$(find "$HOME/.cache/oh-my-posh/themes/" -type f | shuf -n 1)
eval "$(oh-my-posh init bash --config $theme)"
@ronsen
ronsen / .conkyrc
Last active February 1, 2024 02:33
conky configuration file
--[[
# Minimalis Conky 1.3
# Author : archit3x
# Release date : 4 December 2020
# Tested on : Archlinux ARM - XFCE Desktop
# Email : archit3x@archlinux.us
# Feel free to modity this script ;)
]]
conky.config = {
#!/bin/python
import os
USER_FONTS_DIR = "C:\\Users\\<USER>\\AppData\\Local\\Microsoft\\Windows\\Fonts\\"
WINDOWS_FONTS_DIR = "C:\\Windows\\Fonts\\"
def main():
for i in os.listdir(USER_FONTS_DIR):
f = WINDOWS_FONTS_DIR + i
@ronsen
ronsen / script.sh
Last active October 23, 2022 16:22
I hate uppercase!
#!/bin/bash
# Go to home directory
cd ~
# Rename all directories
mv Desktop desktop
mv Documents documents
mv Downloads downloads
mv Music music