File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -198,9 +198,11 @@ pub fn launch_cobalt_strike(project: Project) -> Option<JoinHandle<()>>{
198198 check_path. push ( & project. files_folder ) ;
199199 check_path. push ( "cobaltstrike/client" ) ;
200200 if check_path. as_path ( ) . exists ( ) == false {
201- println ! ( "looks like you don't have cobalt strike set up on this beacon... try copying your cobalt strike folder here!" ) ;
201+ println ! ( "looks like you don't have cobalt strike set up on this beacon... try copying your cobalt strike folder to the following path!" ) ;
202+ println ! ( "{}" , & check_path. display( ) ) ;
202203 return None ;
203204 }
205+ println ! ( "you will need to enter your sudo password shortly, when you've done that successfully please type END and hit enter" ) ;
204206 let handle = thread:: spawn ( move ||{
205207 let mut cs_dir = PathBuf :: new ( ) ;
206208 cs_dir. push ( project. files_folder ) ;
@@ -220,6 +222,13 @@ pub fn launch_cobalt_strike(project: Project) -> Option<JoinHandle<()>>{
220222 }
221223 }
222224 } ) ;
225+ thread:: sleep ( Duration :: from_secs ( 5 ) ) ;
226+ loop {
227+ let end = get_user_input ( "please enter END if the sudo password was enter correctly!" ) ;
228+ if end == "END" . to_string ( ) {
229+ break ;
230+ }
231+ }
223232 return Some ( handle) ;
224233}
225234
You can’t perform that action at this time.
0 commit comments