Skip to content

Instantly share code, notes, and snippets.

@numanturle
Created July 19, 2023 08:50
Show Gist options
  • Save numanturle/f8ef72db294b9fc7eccfc19e9205f0f1 to your computer and use it in GitHub Desktop.
Save numanturle/f8ef72db294b9fc7eccfc19e9205f0f1 to your computer and use it in GitHub Desktop.

Revisions

  1. numanturle created this gist Jul 19, 2023.
    3 changes: 3 additions & 0 deletions vuln.c
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@


    snprintf(filename, PATH_MAX, "%s/%s", config->webroot, page); // vuln