Join us at IRC!
Things are more like they are now than they have ever been before. - Dwight D. Eisenhower
Friday, May 25, 2012
Navigation
Members Online
Total Online: 33
Web Spiders: 17
Guests Online: 30
Members Online: 3

Registered Members: 70210
Newest Member: whitela
Latest Articles
View Thread

HellBound Hackers | Computer General | Hacking in general

Author

run cmd.exe on any pc

ColdwaterQ
Member



Posts: 4
Location:
Joined: 06.02.10
Rank:
Moderate
Posted on 20-04-10 07:42
I was messing arrowned with python at school the other day and decided to ping Google from python. I was really bored :)
Any way I used this simple scblockedript
import os
for line in os.popen('ping google.com'.split('\n';)[0]:
print(line)

and it worked then I tried other commands and found I had access to the command prompt through it. It is blocked at school and I was ussing python 3. Is this a known vulnerability.

P.S. I built a very crude scblockedript that acts as a command prompt and allows me to access most directorys that are blocked at the school as well.
Let me know if you have any questions


Author

RE: run cmd.exe on any pc

wolfmankurd
Member



Posts: 1519
Location: UK
Joined: 30.05.05
Rank:
God
Posted on 20-04-10 08:22
not really a vunrability but this is a work around whiuch works quite often.


BY READING MY POST, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE USE OF THIS (MIS)INFORMATION.


Widowmakr@hotmail.com http://LetsHackStuff.com
Author

RE: run cmd.exe on any pc

Kasper
Member



Posts: 9
Location: Denmark
Joined: 31.03.10
Rank:
Wiseman
Posted on 20-04-10 16:25
MoshBat wrote:
BAT files, command.COM, make an exe that executes system commands. There are a lot of ways.


Making a BAT file or a .com file still doesn't work if CMD is blocked?




Go beyond the impossible


iamfritzo@gmail.com http://happy-tech.net   http://ackack.net
Author

RE: run cmd.exe on any pc

spyware
Member



Posts: 4190
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 20-04-10 18:46
Kasper wrote:
Making a BAT file or a .com file still doesn't work if CMD is blocked?


command.COM is a cmd-like binary. If CMD is blocked you can sometimes still use that.




"The chowner of property." - Zeph
“Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.”
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
http://bitsofspy.net
Author

RE: run cmd.exe on any pc

techb
Member



Posts: 384
Location:
Joined: 15.02.09
Rank:
Hacker Level 2
Posted on 20-04-10 20:58
You could also use VB scblockedript


kbcarte.wordpress.com
Author

RE: run cmd.exe on any pc

define
Member

Posts: 201
Location:
Joined: 13.12.08
Rank:
Moderate
Warn Level: 1
Posted on 21-04-10 12:57
techb wrote:
You could also use VB scblockedript

MoshBat wrote:
make an exe that executes system commands

VBscblockedript's an interpreted language. No exe. So, it's still a good option.


If you need to contact me, send me a PM. I will read and/or respond in time.
Author

RE: run cmd.exe on any pc

spyware
Member



Posts: 4190
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 21-04-10 13:33
MoshBat wrote:
You can compile it to an exe.


Wait, what? I thought one post earlier you were making fun of someone creating a binary to make calls to CMD.




"The chowner of property." - Zeph
“Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.”
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
http://bitsofspy.net
Author

RE: run cmd.exe on any pc

spyware
Member



Posts: 4190
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 21-04-10 13:49
MoshBat wrote:
Erm, Spy. I suggested making a binary to execute system commands up there in my first post... Now, where you got the making fun of bit from is anyone's guess.


Oh, right, I just now saw you quoted yourself. I thought you were doing a variant of the >implying retort. My bad.




"The chowner of property." - Zeph
“Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.”
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
http://bitsofspy.net
Author

RE: run cmd.exe on any pc

define
Member

Posts: 201
Location:
Joined: 13.12.08
Rank:
Moderate
Warn Level: 1
Posted on 22-04-10 05:44
techb wrote:
You could also use VB scblockedript

MoshBat wrote:
make an exe that executes system commands

define wrote:
VBscblockedript's an interpreted language. No exe. So, it's still a good option.

MoshBat wrote:
You can compile it to an exe.

Anyone that actually bothers to roll a scblockedript written in a crap language like VBscblockedript into an exe needs to go die in a hole before they reproduce. Other than the complete uselessness of such a task, an interpreted scblockedript actually has a better chance at succeeding than an exe in a GPO-heavy environment.

Also, no matter what tools are out there for compiling scblockedript languages into exe files, it's not the same thing. Those languages have to be translated into god-know-what to be compiled into an exe. Compiled languages don't deal with that crap. This is the same reason why server-side Javascblockedript will never catch on... because it's a fucking stupid way to do things.

... but, since I can translate PHP code into ASP code (even though it's stupid to), I'll start answering PHP questions with ASP snippets and just beat the thread to death with ignorant self-quotes until it fucking dies and another crap thread takes its place.
Because PHP code can be translated to ASP.


That's an analogy.


If you need to contact me, send me a PM. I will read and/or respond in time.
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.