Skip to content

Instantly share code, notes, and snippets.

@mrl22
mrl22 / README.md
Last active April 29, 2025 08:32
Remove WordPress Virus Malware PHP basename() include_once()
if ( file_exists( plugin_dir_path( __FILE__ ) . '/.' . basename( plugin_dir_path( __FILE__ ) ) . '.php' ) ) { 
    include_once( plugin_dir_path( __FILE__ ) . '/.' . basename( plugin_dir_path( __FILE__ ) ) . '.php' ); 
}

You are probably here because you Google'd the above PHP code.

I searched Google, but couldn't find a working solution, so I wrote one!

@NullArray
NullArray / MAC-by-Vendor.txt
Created June 3, 2019 23:08
List of valid MAC adresses sorted by vendor
Misc MACs:
Num MAC Vendor
--- --- ------
0000 - 00:00:00 - XEROX CORPORATION
0001 - 00:00:01 - XEROX CORPORATION
0002 - 00:00:02 - XEROX CORPORATION
0003 - 00:00:03 - XEROX CORPORATION
0004 - 00:00:04 - XEROX CORPORATION
0005 - 00:00:05 - XEROX CORPORATION
0006 - 00:00:06 - XEROX CORPORATION
@wang-bin
wang-bin / install fbinst
Last active March 26, 2025 21:28
fbinst: boot from usb
## Source
http://download.gna.org/grubutil or https://code.google.com/p/grubutils
build 32bit binary
## Install to USB Disk
get the disk name