Skip to content

Instantly share code, notes, and snippets.

View MikeRawlins's full-sized avatar

Mike Rawlins MikeRawlins

  • Turriff Web
  • Turriff
View GitHub Profile
@dodyw
dodyw / findbot.pl
Last active October 11, 2019 10:30
Perl script to find suspicious scripts. This script is taken from http://cbl.abuseat.org/findbot.pl
#!/usr/bin/perl
# The above line may need to be changed to point at your version of Perl
#
# This script attempts to find malicious files/scripts on your machine.
# It specifically looks for spambots that we're aware of, as well
# as "suspicious" constructs in various scripting languages.
#
# Normally it should be run as root.
#
# By default, findbot.pl scans the directories /tmp, /usr/tmp, /home and
@soderlind
soderlind / in_reply_to_status_id.php
Last active January 11, 2017 20:18
WordPress shortcode [inreplyto]. Get twitter thread, starting with the latest as requested here https://twitter.com/helenhousandi/status/800924721227276288
<?php
/**
* Plugin Name: in_reply_to_status_id
* Version: 0.1
* Plugin URI: https://gist.github.com/soderlind/0a0a439304442b64580ee02687e1a8d8
* Description: returns twitter thread
* Author: Per Soderlind
* Author URI: https://soderlind.no
*/