Advertisement
xerpi

Untitled

Aug 8th, 2016
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     var sockfd = socket(AF_INET, SOCK_STREAM, 0);
  2.     connect_helper(sockfd, "192.168.1.104", 1337);
  3.  
  4.     var fd = open("/user/system/webkit/browser", O_RDONLY, 0);
  5.     debug_log("open(): 0x" + fd.toString(16));
  6.  
  7.     var dents = stack_alloc(1024);
  8.     var ret = getdents(fd, dents, 1024);
  9.  
  10.     write(sockfd, dents, ret);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement