-
The following is my pbftrace code, how can I iterate the
I run this code, and go the following errors: trace-scp.bt:18:12-42: ERROR: The array index operator [] only accepts literal integer indices.
if (strcontains(str(args.envp[$i]),"USER") == 1) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trace-scp.bt:19:13-36: ERROR: The array index operator [] only accepts literal integer indices.
$user=str(args.envp[$i]);
~~~~~~~~~~~~~~~~~~~~~~~
trace-scp.bt:22:12-42: ERROR: The array index operator [] only accepts literal integer indices.
if (strcontains(str(args.envp[$i]),"SSH_CONNE") == 1) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trace-scp.bt:23:13-36: ERROR: The array index operator [] only accepts literal integer indices.
$conn=str(args.envp[$i]);
~~~~~~~~~~~~~~~~~~~~~~~ It mean that I can only visit the |
Beta Was this translation helpful? Give feedback.
Answered by
jordalgo
Aug 3, 2024
Replies: 1 comment 2 replies
-
Edited: Something like this works but it seems that
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
yahaa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Edited: Something like this works but it seems that
strcontains
is broken. Will file a bug and look into it: