Skip to content

Instantly share code, notes, and snippets.

View eboye's full-sized avatar
🏠
Working from home

Vasilj Milošević eboye

🏠
Working from home
View GitHub Profile
@eboye
eboye / clean.sh
Created February 6, 2021 04:12 — forked from Iman/clean.sh
Free up disk space on Ubuntu - clean log, cache, archive packages/apt archives, orphaned packages, old kernel and remove the trash
#!/bin/sh
#Check the Drive Space Used by Cached Files
du -sh /var/cache/apt/archives
#Clean all the log file
#for logs in `find /var/log -type f`; do > $logs; done
logs=`find /var/log -type f`
for i in $logs
Verifying my Blockstack ID is secured with the address 16CmgshGmmSZ4StKKpU9HfFYDph3pNU2Wd https://explorer.blockstack.org/address/16CmgshGmmSZ4StKKpU9HfFYDph3pNU2Wd
127.0.0.1 a.stat.xiaomi.com
127.0.0.1 abtest.mistat.intl.xiaomi.com
127.0.0.1 abtest.mistat.xiaomi.com
127.0.0.1 ad.mi.com
127.0.0.1 ad.xiaomi.com
127.0.0.1 ad1.xiaomi.com
127.0.0.1 adv.sec.miui.com
127.0.0.1 api.account.xiaomi.com
127.0.0.1 api.ad.xiaomi.com
127.0.0.1 api.admob.xiaomi.com
@eboye
eboye / double_click_malware_search.txt
Created December 24, 2017 08:34
Files to find reported by doubleclick
find /var/www/ -name "IFrameManager.html*"
find /var/www/ -name "afa-iframe.htm*"
find /var/www/ -name "bonzaiBuster.htm*"
find /var/www/ -name "buster.htm*"
find /var/www/ -name "addineyeV2.htm*"
find /var/www/ -name "interim.htm*"
find /var/www/ -name "ftlocal.htm*"
find /var/www/ -name "py_buster.htm*"
find /var/www/ -name "jivoxibuster.htm*"
find /var/www/ -name "mojofb_v9.htm*"
@eboye
eboye / lookforbadguys.php
Created December 5, 2017 19:31
PHP Script for finding unwanted files (after hack in most cases)
<?php
/* lookforbadguys.php 2012-04-09
Copyright (C)2012 Karen Chun, Steven Whitney.
Initially published by http://25yearsofprogramming.com.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License (GPL)
Version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of