Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Working from localhost

Stefan Pejcic stefanpejcic

:octocat:
Working from localhost
View GitHub Profile
@stefanpejcic
stefanpejcic / my.html
Created Nov 6, 2020 — forked from tzhenghao/my.html
SQ Scammer html script
View my.html
<!DOCTYPE html>
<head>
<meta property="og:image" content="https://www.airlineratings.com/wp-content/uploads/uploads/singapore_airlines_logo-200x.jpg" />
<meta property="og:title" content="Singapore Airlines is giving away Free tickets to celebrate its 70th Anniversary" />
<script type="text/javascript" language="javascript">
var areYouReallySure = false;
var internalLink = false;
if (typeof window.orientation == 'undefined' && screen.width >= 1000){window.location.href = 'http://google.com'; areYouReallySure=true;}
@stefanpejcic
stefanpejcic / Bash for cPanel
Created Oct 30, 2020 — forked from countryroadgraphics/Bash for cPanel
Bash commands for cPanel servers
View Bash for cPanel
<h4>Use at your own risk. Some of these commands remove data and/or terminate processes.</h4>
<h1><b>Load
</b></h1>
<strong>WordPress attacks</strong>
<code>egrep -c '(wp-comments-post.php|wp-login.php|xmlrpc.php)' /usr/local/apache/domlogs/* |grep -v "_log" |sort -t: -nr -k 2 |head -5 |tee /tmp/delete_check |cut -d'/' -f6; for domlog in $(cut -d':' -f1 /tmp/delete_check); do echo; echo $domlog; echo; echo wp-login.php :: $(grep -c wp-login.php $domlog); echo; grep wp-login.php $domlog | cut -d' ' -f1|egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' |sort |uniq -c |sort -nr | head; echo; echo xmlrpc.php :: $(grep -c xmlrpc.php $domlog); echo; grep xmlrpc.php $domlog |cut -d' ' -f1 |egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' |sort |uniq -c |sort -nr | head; echo; echo wp-comments-post.php :: $(grep -c wp-comments-post.php $domlog); echo; grep wp-comments-post.php $domlog |cut -d' ' -f1 |egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' |sort |uniq -c |sort -nr | head; echo; done
@stefanpejcic
stefanpejcic / cloudflare-failover.sh
Created Oct 11, 2020 — forked from Ara4Sh/cloudflare-failover.sh
CloudFlare A records failover script using CloudFlare api v4 (https://api.cloudflare.com) required jq and curl to run.
View cloudflare-failover.sh
#!/bin/bash
# Copyright (C) 2016 Arash Shams <https://github.com/Ara4Sh>.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
View gist:3595970da0b006cd6ac7f94ef241602c
<div class=”container”>
<div class=”col-md-4″>…</div>
<div class=”col-md-4″>…</div>
<div class=”col-md-4″>…</div>
</div>
View 92red-teme.php
// Set array element
if ( ! function_exists( 'piqes_storage_set_array' ) ) {
function piqes_storage_set_array( $var_name, $key, $value ) {
global $PIQES_STORAGE;
if ( ! isset( $PIQES_STORAGE[ $var_name ] ) ) {
$PIQES_STORAGE[ $var_name ] = array();
}
if ( '' === $key ) {
$PIQES_STORAGE[ $var_name ][] = $value;
} else {
View poazadina.css
/* SMenjanje boje */
@keyframes pozadina {
0% {background-color: black;}
25% {background-color: green;}
50% {background-color: blue;}
75% {background-color: red;}
100% {background-color: black;}
}
.elementor-element-b8f76ed .elementor-element-109b3a8{
background-color: black;
View check-websites.py
from bs4 import BeautifulSoup,SoupStrainer
import urllib.request
import colorama,re,queue,threading
from colorama import Fore
from urllib.parse import *
class check_link():
def __init__(self,address):
self.address=address
def check(self,address):
View whois-servers-list.txt
MITSUBISHI:whois.nic.gmo
XN--3BST00M:whois.gtld.knet.cn
PW:whois.nic.pw
MUSEUM:whois.nic.museum
AMERICANFAMILY:whois.nic.americanfamily
RMIT:whois.nic.rmit
MOTORCYCLES:whois.afilias-srs.net
PROPERTIES:whois.nic.properties
STUDY:whois.nic.study
LY:whois.nic.ly
View list-of-tld-domains.txt
AAA
AARP
ABARTH
ABB
ABBOTT
ABBVIE
ABC
ABLE
ABOGADO
ABUDHABI
@stefanpejcic
stefanpejcic / reset-wordpress-password.sql
Created Nov 12, 2019
reset WordPress password from the database
View reset-wordpress-password.sql
INSERT INTO `wp_users` (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_status`)
VALUES ('INSERT_USERNAME_HERE', MD5('INSERT_PASSWORD_HERE'), 'INSERT_FIRSTNAME_LASTNAME&gt;', 'INSERT_EMAIL_HERE', '0');
INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`)
VALUES (NULL, (Select max(id) FROM wp_users), 'wp_capabilities', 'a:1:{s:13:"administrator";s:1:"1";}');
INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`)
VALUES (NULL, (Select max(id) FROM wp_users), 'wp_user_level', '10');
You can’t perform that action at this time.