Skip to content

How to install libinjection ? #107

Answered by jptosso
sadicann asked this question in Q&A
Nov 18, 2021 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Hey @sadicann, libinjection is not mandatory but you can install with the following procedure:

		git clone https://github.com/libinjection/libinjection
		gcc -std=c99 -Wall -Werror -fpic -c libinjection/src/libinjection_sqli.c -o libinjection/libinjection_sqli.o 
		gcc -std=c99 -Wall -Werror -fpic -c libinjection/src/libinjection_xss.c -o libinjection/libinjection_xss.o
		gcc -std=c99 -Wall -Werror -fpic -c libinjection/src/libinjection_html5.c -o libinjection/libinjection_html5.o
		gcc -dynamiclib -shared -o libinjection/libinjection.so libinjection/libinjection_sqli.o libinjection/libinjection_xss.o libinjection/libinjection_html5.o
		cp libinjection/*.so /usr/local/lib
		cp libinjection/*

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by jptosso
Comment options

You must be logged in to vote
3 replies
@jptosso
Comment options

@sadicann
Comment options

@jptosso
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation question Further information is requested
2 participants