hi guys.. I built a SSH server using Apache Mina and StackOverflow. Now, I ran into the problem, that I am unable to get the String which was input as username or password... This is annoying and the documentation is pure shit. If anyone can tell me what I need to read the client input properly, please help me.
CNCServer: https://pastebin.com/Ab1mkdEM
Commands: https://pastebin.com/C0yzEvsG
PasswordAuth: ```public class CNCPasswordAuthenticator implements PasswordAuthenticator{
private String username, password;
Set<Thread> capthread = new HashSet<>();
@Override
public boolean authenticate(String username, String password, ServerSession session)
throws PasswordChangeRequiredException, AsyncAuthException {
// TODO Auto-generated method stub
return false;
}
}```
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.