sudoedit.8 %2Fpath%2Fto%2Fmasscan%2Fbin%2Fmasscan %24%28dig %2Bshort example.com %7C grep -oE %22%5Cb%28%5B0-9%5D%7B1%2C3%7D%5C.%29%7B3%7D%5B0-9%5D%7B1%2C3%7D%5Cb%22 %7C head -1%29 -p0-10001 --rate 1000 --wait 3 2%3E %2Fdev%2Fnull %7C grep -o -P %27%28%3F%3C%3Dport %29.*%28%3F%3D%2F%29%27
execute a command as another user
-E          The -E (preserve environment) option indicates to the security policy that the user wishes to
            preserve their existing environment variables.  The security policy may return an error if
            the -E option is specified and the user does not have permission to preserve the environment.
-p prompt   The -p (prompt) option allows you to override the default password prompt and use a custom
            one.  The following percent (`%') escapes are supported by the sudoers policy:
-P          The -P (preserve group vector) option causes sudo to preserve the invoking user's group
            vector unaltered.  By default, the sudoers policy will initialize the group vector to the
            list of groups the target user is in.  The real and effective group IDs, however, are still
            set to match the target user.
source manpages: sudoedit