 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Mon Aug 27, 2007 6:46 am Post subject: PHP Process List |
|
|
Lol, I gotta figure this out. Does anyone know how to show the running processes on the server? I've tried passthru("tasklist") but all i get is this:
| Code: | | Image Name PID Session Name Session# Mem Usage ========================= ======== ================ =========== ============ System Idle Process 0 Services 0 16 K System 4 Services 0 528 K smss.exe 412 Services 0 108 K csrss.exe 476 Services 0 2,008 K wininit.exe 528 Services 0 776 K csrss.exe 536 Console 1 11,148 K services.exe 576 Services 0 3,076 K lsass.exe 608 Services 0 1,520 K lsm.exe 616 Services 0 1,572 K winlogon.exe 624 Console 1 1,796 K svchost.exe 792 Services 0 3,736 K svchost.exe 840 Services 0 3,372 K svchost.exe 880 Services 0 8,532 K svchost.exe 996 Services 0 5,948 K svchost.exe 1040 Services 0 43,528 K svchost.exe 1056 Services 0 13,508 K audiodg.exe 1128 Services 0 7,280 K SLsvc.exe 1164 Services 0 6,484 K svchost.exe 1188 Services 0 5,940 K svchost.exe 1364 Services 0 12,540 K spoolsv.exe 1532 Services 0 3,012 K svchost.exe 1556 Services 0 7,856 K PnkBstrA.exe 1776 Services 0 3,140 K svchost.exe 1900 Services 0 2,260 K svchost.exe 1940 Services 0 1,308 K svchost.exe 1980 Services 0 524 K SearchIndexer.exe 2032 Services 0 10,268 K taskeng.exe 856 Services 0 2,288 K dwm.exe 2168 Console 1 3,636 K taskeng.exe 2188 Console 1 6,392 K explorer.exe 2220 Console 1 34,556 K rundll32.exe 2400 Console 1 1,376 K msnmsgr.exe 2408 Console 1 10,112 K abyssws.exe 2432 Console 1 860 K wmpnscfg.exe 2752 Console 1 1,728 K wmpnetwk.exe 2792 Services 0 2,332 K rundll32.exe 3008 Console 1 3,072 K abyssws.exe 3016 Console 1 1,456 K usnsvc.exe 3688 Services 0 1,648 K xfire.exe 2472 Console 1 19,496 K Opera.exe 3892 Console 1 86,944 K Dreamweaver.exe 3024 Console 1 29,300 K cmd.exe 4088 Console 1 2,188 K taskmgr.exe 2380 Console 1 7,564 K php-cgi.exe 3748 Console 1 10,068 K cmd.exe 2260 Console 1 1,740 K tasklist.exe 1896 Console 1 4,304 K WmiPrvSE.exe 3572 Services 0 5,320 K |
I have no idea how to sort it to be readable =\ |
|
| Back to top |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
Posted: Mon Aug 27, 2007 6:53 am Post subject: |
|
|
Replace every 8th space with a newline. Then replace the other spaced with tabs. From there, it might need a little more formatting.
EDIT: and leave image names with spaces in the alone - like System Idle Process (don't count those spaces)
EDIT: (looks perfect in TextPad, lol)
| Code: |
Image Name PID Session Name Session# Mem Usage
========== === ============ ======== === =====
SystemIdleProcess 0 Services 0 16 K
System 4 Services 0 528 K
smss.exe 412 Services 0 108 K
csrss.exe 476 Services 0 2,008 K
wininit.exe 528 Services 0 776 K
csrss.exe 536 Console 1 11,148 K
services.exe 576 Services 0 3,076 K
lsass.exe 608 Services 0 1,520 K
lsm.exe 616 Services 0 1,572 K
winlogon.exe 624 Console 1 1,796 K
svchost.exe 792 Services 0 3,736 K
svchost.exe 840 Services 0 3,372 K
svchost.exe 880 Services 0 8,532 K
svchost.exe 996 Services 0 5,948 K
svchost.exe 1040 Services 0 43,528 K
svchost.exe 1056 Services 0 13,508 K
audiodg.exe 1128 Services 0 7,280 K
SLsvc.exe 1164 Services 0 6,484 K
svchost.exe 1188 Services 0 5,940 K
svchost.exe 1364 Services 0 12,540 K
spoolsv.exe 1532 Services 0 3,012 K
svchost.exe 1556 Services 0 7,856 K
PnkBstrA.exe 1776 Services 0 3,140 K
svchost.exe 1900 Services 0 2,260 K
svchost.exe 1940 Services 0 1,308 K
svchost.exe 1980 Services 0 524 K
SearchIndexer.exe 2032 Services 0 10,268 K
taskeng.exe 856 Services 0 2,288 K
dwm.exe 2168 Console 1 3,636 K
taskeng.exe 2188 Console 1 6,392 K
explorer.exe 2220 Console 1 34,556 K
rundll32.exe 2400 Console 1 1,376 K
7msnmsgr.exe 2408 Console 1 10,112 K
abyssws.exe 2432 Console 1 860 K
wmpnscfg.exe 2752 Console 1 1,728 K
wmpnetwk.exe 2792 Services 0 2,332 K
rundll32.exe 3008 Console 1 3,072 K
abyssws.exe 3016 Console 1 1,456 K
usnsvc.exe 3688 Services 0 1,648 K
xfire.exe 2472 Console 1 19,496 K
Opera.exe 3892 Console 1 86,944 K
Dreamweaver.exe 3024 Console 1 29,300 K
cmd.exe 4088 Console 1 2,188 K
taskmgr.exe 2380 Console 1 7,564 K
php-cgi.exe 3748 Console 1 10,068 K
cmd.exe 2260 Console 1 1,740 K
tasklist.exe 1896 Console 1 4,304 K
WmiPrvSE.exe 3572 Services 0 5,320 K |
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish |
|
| Back to top |
|
 |
zart Master Cheater
Reputation: 0
Joined: 20 Aug 2007 Posts: 351 Location: russia
|
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Mon Aug 27, 2007 8:04 am Post subject: |
|
|
| Ok, i had to cheat a bit. What ive done is wrote the result to a txt doc and shown it in an iframe XD |
|
| Back to top |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
Posted: Mon Aug 27, 2007 10:10 am Post subject: |
|
|
The ideal way would be to parse the items out and make an html table, there are some good examples of that in the PHP docs (probably the same type of thing zart linked to) _________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish |
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Mon Aug 27, 2007 10:14 am Post subject: |
|
|
| zart, i've tried that. Its even worse lol. |
|
| Back to top |
|
 |
assaf84 Expert Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 238
|
Posted: Mon Aug 27, 2007 10:17 am Post subject: |
|
|
| [Off-topic] Is there a way to create a process on a PHP server? |
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Mon Aug 27, 2007 10:34 am Post subject: |
|
|
| assaf84 wrote: | | [Off-topic] Is there a way to create a process on a PHP server? |
passthru("Program.exe");
exec
proc_open()
shell_exec
system |
|
| Back to top |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
Posted: Mon Aug 27, 2007 12:09 pm Post subject: |
|
|
Passthru returns the exact binary output, so it is probably giving you windows-style newlines rather than web/linux/whatever is wants. Try
passthru("tasklist>temp");
Then reading it like a file.
Edit: I suppose you already sorta did this. Try reading the file with PHP and echoing it - see if it is formatted correctly then. _________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish |
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Mon Aug 27, 2007 12:45 pm Post subject: |
|
|
| nog_lorp wrote: | Passthru returns the exact binary output, so it is probably giving you windows-style newlines rather than web/linux/whatever is wants. Try
passthru("tasklist>temp");
Then reading it like a file.
Edit: I suppose you already sorta did this. Try reading the file with PHP and echoing it - see if it is formatted correctly then. |
echoing it gives me the same result =p |
|
| Back to top |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
Posted: Mon Aug 27, 2007 2:54 pm Post subject: |
|
|
I mean, writing tasklist's output to a file, then reading the file and echoing IT. The file will be the binary output, but the file reading routines should compensate for the conversion. passthru doesn't manipulate newlines or anything - it is suitable for moving binary files and such. Similar to bin ftp mode rather than text ftp mode. _________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|