我的代码是否容易受到SQL注入攻击?

时间:2017-05-11 10:50:35

标签: python mysql sqlite sql-injection tweepy

我是python和sqlite的新手,因此我需要一些专家或友好的建议。我正在尝试使用Tweepy捕获推文并将其存储在SQLite数据库中。以下是代码

 let headerParameters = [
               "Content-Type": "application/json",
               "Accept": "application/json",
               "AccessKey" : awsCredentials.accessKey,
               "SecretKey" : awsCredentials.secretKey,
               "SessionKey" : awsCredentials.sessionKey,
               "Authorization" :
                AWSCognitoUserPoolsSignInProvider.sharedInstance().getUserPool().currentUser()?.getSession().result?.idToken?.tokenString
            ]

有人可以验证它是否容易受到SQL注入攻击。我的数据库中唯一的数据输入源是twitter。

0 个答案:

没有答案
相关问题