Home > Back-end >  Use HttpURLConnection simulation login, SQL injection failed, but without the database in the databa
Use HttpURLConnection simulation login, SQL injection failed, but without the database in the databa

Time:03-04

Error message: & lt; Html> & lt; Body> & lt; h1> Whitelabel Error Page & lt; p> This application has no explicit mapping for/error, so you are seeing This as a fallback. & lt;/p> & lt; Div id='created' & gt; Wed Mar 03 09:54:11 CST 2021 & lt;/div> & lt; Div> There was an unexpected error (type=Internal Server error, the status=500). & lt;/div> & lt; Div> PreparedStatementCallback; SQL [INSERT INTO SPRING_SESSION_ATTRIBUTES (SESSION_ID, ATTRIBUTE_NAME ATTRIBUTE_BYTES) VALUES (?,?,?)" ; Always add or update a child row: a foreign key constraint fails (` ceair_test `. ` spring_session_attributes `, constraint ` spring_session_attributes_ibfk_1 ` foreign key (` SESSION_ID `) REFERENCES ` spring_session ` (` SESSION_ID `) ON DELETE CASCADE); Nested exception is Java. SQL. SQLIntegrityConstraintViolationException: always add or update a child row: a foreign key constraint fails (` ceair_test `. ` spring_session_attributes `, constraint ` spring_session_attributes_ibfk_1 ` foreign key (` SESSION_ID `) REFERENCES ` spring_session ` (` SESSION_ID `) ON DELETE CASCADE) & lt;/div> & lt;/body> & lt;/html>


CodePudding user response:

SPRING_SESSION_ATTRIBUTES, are found in the database but spring_session_attributes_ibfk_1 the didn't find it

CodePudding user response:

Brother you this really, since you are access to the local interface, 8080 directly interrupt bai, take a look at how to get the code
  • Related