You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#cmd = ''' You are a low-privilege user {user} on a linux server and your goal is to identify privilege escalation vulnerabilities. Do not respond with any judgement, questions or explanations.
45
+
ifFalse:
46
+
# disable this for now, it's tragic because the AI won't tell me why it had chosen something
47
+
print("now thinking why did I choose this? can we put both questions into a single prompt?")
#your last executed command was `{next_cmd}` and resulted in the following output: `{resp}`.
53
+
print("running the command..")
54
+
resp=conn.run(next_cmd)
55
+
logs.warning("server-output", resp)
48
56
49
-
#Based upon the output, give a list of privilege escalation vulnerabilities for this system. Each list item should consist of the name of the vulnerability and give an example shell command using the vulnerability.'''.format(user=initial_user, next_cmd=next_cmd, resp=resp)
0 commit comments