Skip to content

Instantly share code, notes, and snippets.

View ataliba's full-sized avatar
🎯
Focusing

cybernetus@xda ataliba

🎯
Focusing
View GitHub Profile
env x='() { :;}; echo vulneravel’ bash -c ‘false’
$ sudo yum update bash -y
Loaded plugins: fastestmirror, langpacks, refresh-packagekit
adobe-linux-x86_64 | 951 B 00:00
fedy | 1.6 kB 00:00
google-chrome | 951 B 00:00
google-talkplugin | 951 B 00:00
<?php
$dados = $_POST;
$user = ' ; // User Key do Pushover
$app = '' ; // APP Key do Pushover
$priority = '0'; // Prioridade da mensagem no Pushover
@ataliba
ataliba / telegram_notification.py
Last active April 26, 2017 17:07
Simple Telegram bot Notification for Zabbix
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Ataliba Teixeira - https://github.com/ataliba
# Simple script to use on Zabbix Notification ( based on https://github.com/GabrielRF/Zabbix-Telegram-Notification )
#
import telebot,sys
# your bot token
package com.foo.app;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuItem;
<uses-permission android:name="android.permission.INTERNET"/>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">
<ProgressBar
android:layout_centerHorizontal="true"
android:layout_height="wrap_content"
package com.foo.app;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuItem;
#!/bin/sh
#
# Mysql-test
# A little script to test if you mysql or mariadb is running.
# If the database is up, only logs, if the database is down, the script starts the database again
# Test on a Ubuntu Server
#
# Author: Ataliba Teixeira
#
#########################################################################
#!/bin/sh
{
RBL="http://www.spamhaus.org/drop/drop.lasso"
IPTABLES="/sbin/iptables"
# INICIANDO O PROCESSAMENTO DA RBL
rm -rf /tmp/lasso
mkdir /tmp/lasso
cd /tmp/lasso