pcp is a script for managing prompts colors :
see here for more details :
http://forums.remote-exploit.org/cal...2007-10-21&c=1
pcp is a script for managing prompts colors :
see here for more details :
http://forums.remote-exploit.org/cal...2007-10-21&c=1
Watch your back, your packetz will belong to me soon... xD
BackTrack : Giving Machine Guns to Monkeys since 2006
i need to know what you find useful to include for prompt options :
the date in "Weekday Month Date" format (e.g., "Tue May 26")
the hostname up to the first `.'
the hostname
the number of jobs currently managed by the shell
the name of the shell, the basename of $0 (the portion following the final slash)
the current time in 24-hour HH:MM:SS format
the current time in 12-hour HH:MM:SS format
the current time in 12-hour am/pm format
the username of the current user
the current working directory
the basename of the current working directory
Counting Files in the Current Directory
Display average system load
Display system uptime
Counting number of processes
Indicate if AC power is connected and percentage power remaining (NEED APM ADDON)
all these options can be script easily and the foreground & background colors too........
i've bold the ones i think i will embed but if you see others useful i miss here please, feel free to help me sort the really useful options......
thx .........
Watch your back, your packetz will belong to me soon... xD
BackTrack : Giving Machine Guns to Monkeys since 2006
FIRST SUCCESSFUL :
i manage to create a new profile to save it and apply it through reboot
it's a complex prompt :
you have DATE, TIME , CURRENT USER, AVERAGE LOAD, NUM OF PROCESSES, UPTIME and CURRENT WORKING DIR........
NICE ?
that will be the type of prompts you will be able to generate easily......
Watch your back, your packetz will belong to me soon... xD
BackTrack : Giving Machine Guns to Monkeys since 2006
If it is not much more work, why not include them all, as you are always going to have someone that will want whatever of them you leave out.
yes here is the default menu : for profile creation :
that's not too much time, just need to create a fuction for each oneCode:D : DISPLAY NEW PROMPT R : RESET NEW PROMPT S : SAVE NEW PROFILE C : CANCEL CREATION 1 : ADD DATE 2 : ADD TIME 3 : ADD HOSTNAME 4 : ADD USERNAME 5 : ADD CURRENT WORKING DIR 6 : ADD FILES COUNT 7 : ADD SYSTEM LOAD 8 : ADD SYSTEM UPTIME 9 : ADD NUMBER OF RUNNING PROCESSES 10 : ADD BATTERY INDICATOR 11 : ADD FREE TEXT
but maybe i can add other things
like :
Thu Oct 11 04:57:11 User root Linux bt 2.6.20-BT-PwnSauce-NOSMP SysLoad 0.14 Processes 131 Uptime 8:31 WDir ~ :
this one get the kernel version ....
there's virtually no limit........
Watch your back, your packetz will belong to me soon... xD
BackTrack : Giving Machine Guns to Monkeys since 2006
However many options you put in, there will always be people that will want something more and plenty that will use them all, even if the prompt fills the screen.