Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. /root/test.sh
  2.  
  3. shc -v -r -T -f test.sh
  4. shc: WARNING!!
  5. Scripts of length near to (or higher than) the current System limit on
  6. "maximum size of arguments to EXEC", could comprise its binary execution.
  7. In the current System the call sysconf(_SC_ARG_MAX) returns -1 bytes
  8. and your script "test.sh" is 155201 bytes length.
  9. shc shll=sh
  10. shc [-i]=-c
  11. shc [-x]=exec '%s' "$@"
  12. shc [-l]=
  13. shc opts=
  14. shc: cc test.sh.x.c -o test.sh.x
  15. shc: strip test.sh.x
  16. shc: chmod go-r test.sh.x
  17.  
  18. ./test.sh.x
  19. ./test.sh.x: Argument list too long: /bin/sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement