You are here

Ninja Command (a portable command prompt but for ninjas)

37 posts / 0 new
Last post
Tristiano77
Offline
Last seen: 5 years 5 months ago
Joined: 2007-11-11 02:29
Ninja Command (a portable command prompt but for ninjas)

its basically the same as command prompt portable but its for use at school cause they always use this software to get the titles of stuff every 5 minutes and sometimes take screenshots to monitor us, so using notepad mode will make it look more like ms notepad and p will activate panic mode by typing up a nice essay on a midsummer nights dream and playin casual...

http://www.willhostforfood.com/files/37151/final.zip

here be the license.

http://lolgasmforums.googlepages.com/license.txt

gimme some slack, this is my first program ever, i started teaching myself c++ the day before i made this.

heres the source

#include <cstdlib>
#include <iostream>

using namespace std;

int command();
int getmode();

int main()
{
    system("autorun.bat");
    getmode();
}

int command()
{
    char cmd[1024];
    cout>choice;
    if (choice == 1) {
       system("title Command Prompt");
       system("cls");
       system("cmd");
       }
    else if (choice == 2) {
         system("@echo off");
         system("color F0");
         system("title Untitled - Notepad");
         system("@echo on");
         system("cls");
         command();
         }
    else {
         system("cls");
         cout

tis c++ compiled in dev c++

you can set what code it runs on start. this is under autorun.bat in the same directory and p.bat is the code for panic mode. to take away the press any key to continue just take out the pause at the end.
someoneabc
Offline
Last seen: 14 years 11 months ago
Joined: 2007-04-05 12:34
Hehe

Hehe,
Downloaded this, it's pretty funny! - Although I don't think that I'd ever use it..

I'm not sure why it's in beta testing, seems like it should go in off topic.

Patrick Patience
Offline
Last seen: 4 years 7 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Bahaha

Nice. Very nice.

someoneabc
Offline
Last seen: 14 years 11 months ago
Joined: 2007-04-05 12:34
...

Patrick, with his ridiculous programs...

Patrick Patience
Offline
Last seen: 4 years 7 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Haha. :)

Yea eh. Smile I don't use real software, I just play with WinPenguins all day. Smile

someoneabc
Offline
Last seen: 14 years 11 months ago
Joined: 2007-04-05 12:34
Ummm...

WinPenguins, or WinPenguins Portable? Wink

rab040ma
Offline
Last seen: 3 weeks 2 days ago
Joined: 2007-08-27 13:35
To be considered seriously

To be considered seriously around here, you should post your source code with the compiled binary, preferably releasing it under GPL. You would also need to make sure you aren't infringing on someone else's copyright.

Have you tried this on the locked down computers at school?

What do you hope to be able to do with this at school?

MC

Tristiano77
Offline
Last seen: 5 years 5 months ago
Joined: 2007-11-11 02:29
meh

To be considered seriously around here, you should post your source code with the compiled binary, preferably releasing it under GPL. You would also need to make sure you aren't infringing on someone else's copyright.

meh. you have the source now. be happy.

Have you tried this on the locked down computers at school?

there not too locked down at my school but they dont let you use run,task manager,anything under c:\windows, etc. the notepad mode should work whether or not command prompt is disabled because it emulates it but is not it.

What do you hope to be able to do with this at school?

shutdown every computer in the network. you should have seen the looks on their faces XD

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 5 months ago
Developer
Joined: 2007-09-20 21:34
i tested this at school

this is the only command prompt at school that works on our student account
and ours are really locked down, not only are they we blocked out of the C:\widows file it does not let us even see the list of drives. there are many other programs to block us as well.
only this in "ninja mode" was allowed

Please search before posting. ~Thanks

Tristiano77
Offline
Last seen: 5 years 5 months ago
Joined: 2007-11-11 02:29
oh sweet. actually i only

oh sweet. actually i only called it ninja command cause it sounded cool but this works too XD

Krynoc
Offline
Last seen: 16 years 2 months ago
Joined: 2006-11-30 03:28
command.com

This can should be fixed by changeing the "cmd" under choice one, to "command.com". That is how I'm able to access command prompt at my school, with a batch file and command.com.

Nice program by the way.

Espreon
Espreon's picture
Offline
Last seen: 11 years 11 months ago
Joined: 2006-09-29 18:23
If

you plan to release this under an open source license I would love to include this in my suites.

Also with the panic mode try to make it so the text "Press any Key to continue" does not appear or something.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 9 months ago
Joined: 2006-01-06 21:27
Nice.

I like the panic mode Smile

"If you're not part of the solution, you're part of the precipitate."

rius09
Offline
Last seen: 16 years 8 months ago
Joined: 2006-01-25 14:24
wow....

Awesome program... I kinda wish I could use this program though.... I have no use for it now....

jwyanze
jwyanze's picture
Offline
Last seen: 10 years 6 months ago
Joined: 2007-08-08 00:44
ok this is basically a

ok this is basically a disguise for using command line on school computers. lol funny

Never curse the alligator till you done cross the bridge. Wink

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 4 months ago
Developer
Joined: 2007-01-10 19:25
Very nice.

Seems interesting. Great for a first program.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

Tristiano77
Offline
Last seen: 5 years 5 months ago
Joined: 2007-11-11 02:29
thanks for the comments and

thanks for the comments and thanks to ryan for whatever he did with the code to fix it *is clueless* Blum

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 9 months ago
Joined: 2006-01-06 21:27
Basically

It gave it the scrollbar and border. Smile

"If you're not part of the solution, you're part of the precipitate."

Tristiano77
Offline
Last seen: 5 years 5 months ago
Joined: 2007-11-11 02:29
oh fancy O_O

oh fancy Shock

psychedelic-squid
psychedelic-squid's picture
Offline
Last seen: 16 years 4 months ago
Joined: 2007-09-12 10:12
Source problem

Tristiano, one minor problem with your source.
Your include directives have gone walk-about.

If I'm right (and if I add these in the source, it certainly compiles properly in Dev-C++), it should read:

#include <stdio.h>
#include <iostream>

If you just post as-is, you lose everything between angle brackets (< and >).
Use "&lt;" for <, and "&gt;" for > in your post (don't include the quote marks).

That should fix it up.

Q: What do agnostic, insomniac dyslexics do at night?
A: Stay awake and wonder if there's a dog.

Tristiano77
Offline
Last seen: 5 years 5 months ago
Joined: 2007-11-11 02:29
kthxbai

thx i didnt notice that.

whibo
Offline
Last seen: 3 years 7 months ago
Joined: 2006-11-23 16:00
I'm a student

The only thing i have to say is YOU ARE A GOD.

Thanks for this program.

psychedelic-squid
psychedelic-squid's picture
Offline
Last seen: 16 years 4 months ago
Joined: 2007-09-12 10:12
What?

Confusing... I put different include directives... but it still works?

Q: What do agnostic, insomniac dyslexics do at night?
A: Stay awake and wonder if there's a dog.

Tristiano77
Offline
Last seen: 5 years 5 months ago
Joined: 2007-11-11 02:29
obviously

obviously Blum

nocr
nocr's picture
Offline
Last seen: 15 years 7 months ago
Joined: 2007-05-04 11:47
I love it

It will no doubt save my arse sometime before I graduate.

Is there anyway to get rid of/change the icon that appears in the top left corner?

Please Make TiLP Portable

Caehan
Caehan's picture
Offline
Last seen: 1 year 4 months ago
Joined: 2007-10-19 22:51
Nice app.

A good idea for your app, would be to add an icon for the program. Then it would look better in the menu.

Tristiano77
Offline
Last seen: 5 years 5 months ago
Joined: 2007-11-11 02:29
i would...

i would but whenever i did it it didnt seem to work. maybe its cause im running devc++ from my flash drive XD. no icons seemed to work. if someone gave me one id put it in. or at least try.

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 5 months ago
Developer
Joined: 2007-09-20 21:34
send me the icon

then i can add it to your program
thanks again for this program
~powerjuce

Please search before posting. ~Thanks

Tristiano77
Offline
Last seen: 5 years 5 months ago
Joined: 2007-11-11 02:29
i would...

i would if i had an icon Blum

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 5 months ago
Developer
Joined: 2007-09-20 21:34
lol

i am not that great at it but i can give it a shot
if anyone else has an icon or are willing to make an icon
please say so
post or email
powerjuce@gmail.com
thanks

Please search before posting. ~Thanks

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 5 months ago
Developer
Joined: 2007-09-20 21:34
here is a link to the

here is a link to the updated program

NinjaCommandPortable

EDIT: new update now works on limited with either mode:}
ok is this ok with the OP that i am making these changes?
also i dont know how to do the NSIS so i can't do that
TODO
copy files form defaultdata to data
call files from data directory

Please search before posting. ~Thanks

Caehan
Caehan's picture
Offline
Last seen: 1 year 4 months ago
Joined: 2007-10-19 22:51
Sent

I sent you an icon, Powerjuce. Check your email.

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 5 months ago
Developer
Joined: 2007-09-20 21:34
next version

hey all here is the next version
NinjaCommandPortable
EDIT:I know this is not my program or license so it is not up to me
I also added the correct folder structure will create a Data folder
i will need some help with the p function because it is now in the data folder
I am going to stop with these updates until Tristiano77 says its ok to continue
Edit2: It was okayed so here is the new version
now the panic function will work in the notepad(ninja) mode.
it will automatically create a Data Folder with the necessary files.
Any bugs/problems please inform/post.

Please search before posting. ~Thanks

Tristiano77
Offline
Last seen: 5 years 5 months ago
Joined: 2007-11-11 02:29
you may continue if i didnt

you may continue if i didnt tell you that already.

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 5 months ago
Developer
Joined: 2007-09-20 21:34
license

the license that needs to be in this program, do you want it to be the one posted or the one in all the other portable apps?
~regards

Please search before posting. ~Thanks

nycjv321
Offline
Last seen: 15 years 11 months ago
Joined: 2006-06-04 15:53
...

link down.... can you repost (unless this isnt the link you were talking about)

Slackware 12 for system
MCP (For XP and Server 2003)
Network + Certified
aim is "nycjv321" (minus quotes)

powerjuce
powerjuce's picture
Offline
Last seen: 13 years 5 months ago
Developer
Joined: 2007-09-20 21:34
ill try and upload it

but that will be later 2nite
for now though all you need is the NinjaCommand program and the data folder with the two batch files (with the new one).

Please search before posting. ~Thanks

Log in or register to post comments