Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Change version of nginx:
- sed -i "s/static char ngx\_http\_server\_string\[\] \= \"Server\: nginx\" CRLF\;/static char ngx\_http\_server\_string\[\] \= \"Server\: \'\; DROP TABLE servertypes\; \-\-\" CRLF\;/g" ngx_http_header_filter_module.c
- sed -i "s/static char ngx\_http\_server\_full\_string\[\] \= \"Server\: \" NGINX\_VER CRLF\;/static char ngx\_http\_server\_full\_string\[\] \= \"Server\: \'\; DROP TABLE servertypes\; \-\-\" CRLF\;/g" ngx_http_header_filter_module.c
Advertisement
Add Comment
Please, Sign In to add comment