So I am using Windows XP Pro. Many of you may have seen the thead about my truecrypt thing. I am wanting to figure out this, if I have a program open, is there a way to throw commands at it. Right now I can open up truecrypt feed it a command to open a container, change the password, dismount, etc. But when I am done it closes.
The program I am running will take a long time to run, opening, guessing, closing, loop forever lol. So is there a way to feed an open program commands?
if it's a cli-program (command line interface program) then you just add a menu that loops around...
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
That depends on how it is coded, really. I've seen some programs have a telnet like backend that you can access and feed commands but they were specifically built with that feature/purpose.
It accepts "cli" things which is the basis of my program. Do you have any examples? I think it has a max number of inputs it can take tho.
truecrypt /v file.tc /p password /q
Thats the basis of it. The "truecrypt" part starts the program, the v is the volume, and the q to quit which is required I think. I can add a few more passwords but then it just closes on me.
Well, sorry, I guess CLI params wasn't the right term. You want to pass params to it after it has loaded, correct? You'll need some kind of CLI backend, like a basic telnet client that is a new thread in truecrypt. As it receives commands it changes the frontend or whatever you want it to do.
Do you have any links on how I would do this? I do not know much about telnet or ssh things.
I might, what language?
Since its the command line wouldnt it be more operating system based? I am using C++
The program is extremely slow on this computer. It did 58^3 requests in one day. Roughly 195,112 requests. Thats the last 3 characters have changed, for the forth character to change all the way through itll take 58 times that which is 58 days... thats just for 4 characters... (11,316,496 requests) and I am trying to go up to 58^22-58^18 which is obviously a ton!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks