Projects STRLCPY sub3suite Commits 1b41f1f2
🤬
  • ■ ■ ■ ■ ■ ■
    sub3suite/src/Dialogs/ApiKeysDialog.cpp
    skipped 44 lines
    45 45   APIKEY.setValue("passivetotal_username", ui->lineEditPassiveTotalUsername->text());
    46 46   APIKEY.setValue(OSINT_MODULE_SECURITYTRAILS, ui->lineEditSecurityTrails->text());
    47 47   APIKEY.setValue(OSINT_MODULE_SHODAN, ui->lineEditShodan->text());
    48  - APIKEY.setValue("spyse", ui->lineEditSpyse->text());
    49  - APIKEY.setValue("virustotal", ui->lineEditVirusTotal->text());
     48 + APIKEY.setValue(OSINT_MODULE_SPYSE, ui->lineEditSpyse->text());
     49 + APIKEY.setValue(OSINT_MODULE_VIRUSTOTAL, ui->lineEditVirusTotal->text());
    50 50   APIKEY.setValue(OSINT_MODULE_BINARYEDGE, ui->lineEditBinaryEdge->text());
    51 51   APIKEY.setValue(OSINT_MODULE_C99, ui->lineEditC99->text());
    52 52   APIKEY.setValue(OSINT_MODULE_IPAPI, ui->lineEditIpApi->text());
    53  - APIKEY.setValue("ipinfo", ui->lineEditIpInfo->text());
     53 + APIKEY.setValue(OSINT_MODULE_IPINFO, ui->lineEditIpInfo->text());
    54 54   APIKEY.setValue(OSINT_MODULE_THREATBOOK, ui->lineEditThreatBook->text());
    55 55   APIKEY.setValue(OSINT_MODULE_WHOISXMLAPI, ui->lineEditWhoisXmlApi->text());
    56 56   APIKEY.setValue(OSINT_MODULE_ZOOMEYE, ui->lineEditZoomEye->text());
    skipped 29 lines
    86 86   APIKEY.setValue(OSINT_MODULE_EMAILREP, ui->lineEditEmailRep->text());
    87 87   APIKEY.setValue(OSINT_MODULE_SNOV, ui->lineEditSnov->text());
    88 88   APIKEY.setValue(OSINT_MODULE_IPDATA, ui->lineEditIpData->text());
    89  - APIKEY.setValue("ipgeolocation", ui->lineEditIpGeoLocation->text());
    90  - APIKEY.setValue("ipregistry", ui->lineEditIpRegistry->text());
    91  - APIKEY.setValue("ipstack", ui->lineEditIpStack->text());
    92  - APIKEY.setValue("abuseipdb", ui->lineEditAbuseIPDB->text());
     89 + APIKEY.setValue(OSINT_MODULE_IPGEOLOCATION, ui->lineEditIpGeoLocation->text());
     90 + APIKEY.setValue(OSINT_MODULE_IPREGISTRY, ui->lineEditIpRegistry->text());
     91 + APIKEY.setValue(OSINT_MODULE_IPSTACK, ui->lineEditIpStack->text());
     92 + APIKEY.setValue(OSINT_MODULE_ABUSEIPDB, ui->lineEditAbuseIPDB->text());
    93 93   APIKEY.setValue("fraudguard_user", ui->lineEditFraudGuardUser->text());
    94 94   APIKEY.setValue("fraudguard_pass", ui->lineEditFraudGuardPass->text());
    95  - APIKEY.setValue("hybridanalysis", ui->lineEditHybridAnalysis->text());
    96  - APIKEY.setValue("ipqualityscore", ui->lineEditIpQualityScore->text());
    97  - APIKEY.setValue("leaklookup", ui->lineEditLeakLookup->text());
     95 + APIKEY.setValue(OSINT_MODULE_HYBRIDANALYSIS, ui->lineEditHybridAnalysis->text());
     96 + APIKEY.setValue(OSINT_MODULE_IPQUALITYSCORE, ui->lineEditIpQualityScore->text());
     97 + APIKEY.setValue(OSINT_MODULE_LEAKLOOKUP, ui->lineEditLeakLookup->text());
    98 98   APIKEY.setValue(OSINT_MODULE_ZETALYTICS, ui->lineEditZETAlytics->text());
    99 99   APIKEY.setValue(OSINT_MODULE_WAPPALYZER, ui->lineEditWappalyzer->text());
    100 100   APIKEY.setValue(OSINT_MODULE_IPFY, ui->lineEditIpfy->text());
    skipped 91 lines
    192 192   ui->lineEditShodan->setText(key);
    193 193   ui->buttonGetShodan->hide();
    194 194   }
    195  - key = APIKEY.value("spyse").toString();
     195 + key = APIKEY.value(OSINT_MODULE_SPYSE).toString();
    196 196   if(!key.isEmpty()){
    197 197   ui->lineEditSpyse->setText(key);
    198 198   ui->buttonGetSpyse->hide();
    199 199   }
    200  - key = APIKEY.value("virustotal").toString();
     200 + key = APIKEY.value(OSINT_MODULE_VIRUSTOTAL).toString();
    201 201   if(!key.isEmpty()){
    202 202   ui->lineEditVirusTotal->setText(key);
    203 203   ui->buttonGetVirusTotal->hide();
    skipped 8 lines
    212 212   ui->lineEditC99->setText(key);
    213 213   ui->buttonGetC99->hide();
    214 214   }
    215  - key = APIKEY.value("ipinfo").toString();
     215 + key = APIKEY.value(OSINT_MODULE_IPINFO).toString();
    216 216   if(!key.isEmpty()){
    217 217   ui->lineEditIpInfo->setText(key);
    218 218   ui->buttonGetIpInfo->hide();
    skipped 183 lines
    402 402   ui->lineEditIpData->setText(key);
    403 403   ui->buttonGetIpData->hide();
    404 404   }
    405  - key = APIKEY.value("ipgeolocation").toString();
     405 + key = APIKEY.value(OSINT_MODULE_IPGEOLOCATION).toString();
    406 406   if(!key.isEmpty()){
    407 407   ui->lineEditIpGeoLocation->setText(key);
    408 408   ui->buttonGetIpGeoLocation->hide();
    409 409   }
    410  - key = APIKEY.value("ipregistry").toString();
     410 + key = APIKEY.value(OSINT_MODULE_IPREGISTRY).toString();
    411 411   if(!key.isEmpty()){
    412 412   ui->lineEditIpRegistry->setText(key);
    413 413   ui->buttonGetIpRegistry->hide();
    414 414   }
    415  - key = APIKEY.value("ipstack").toString();
     415 + key = APIKEY.value(OSINT_MODULE_IPSTACK).toString();
    416 416   if(!key.isEmpty()){
    417 417   ui->lineEditIpStack->setText(key);
    418 418   ui->buttonGetIpStack->hide();
    419 419   }
    420  - key = APIKEY.value("abuseipdb").toString();
     420 + key = APIKEY.value(OSINT_MODULE_ABUSEIPDB).toString();
    421 421   if(!key.isEmpty()){
    422 422   ui->lineEditAbuseIPDB->setText(key);
    423 423   ui->buttonGetAbuseIPDB->hide();
    skipped 7 lines
    431 431   ui->buttonGetFraudGuard->hide();
    432 432   }
    433 433   //...
    434  - key = APIKEY.value("hybridanalysis").toString();
     434 + key = APIKEY.value(OSINT_MODULE_HYBRIDANALYSIS).toString();
    435 435   if(!key.isEmpty()){
    436 436   ui->lineEditHybridAnalysis->setText(key);
    437 437   ui->buttonGetHybridAnalysis->hide();
    438 438   }
    439  - key = APIKEY.value("ipqualityscore").toString();
     439 + key = APIKEY.value(OSINT_MODULE_IPQUALITYSCORE).toString();
    440 440   if(!key.isEmpty()){
    441 441   ui->lineEditIpQualityScore->setText(key);
    442 442   ui->buttonGetIpQualityScore->hide();
    443 443   }
    444  - key = APIKEY.value("leaklookup").toString();
     444 + key = APIKEY.value(OSINT_MODULE_LEAKLOOKUP).toString();
    445 445   if(!key.isEmpty()){
    446 446   ui->lineEditLeakLookup->setText(key);
    447 447   ui->buttonGetLeakLookup->hide();
    skipped 269 lines
  • ■ ■ ■ ■ ■
    sub3suite/src/modules/passive/AbstractOsintModule.h
    skipped 252 lines
    253 253   ScanArgs args;
    254 254   QString target;
    255 255   int activeRequests = 0;
    256  - int QUERY_TYPE;
    257 256   s3sNetworkAccessManager *manager = nullptr;
    258 257   
    259 258   void onError(QNetworkReply *reply){
    skipped 52 lines
  • ■ ■ ■ ■ ■ ■
    sub3suite/src/modules/passive/OsintDefinitions.h
    skipped 75 lines
    76 76  #define OSINT_MODULE_IPFY "Ipfy"
    77 77  #define OSINT_MODULE_IPAPI "IpApi"
    78 78  #define OSINT_MODULE_IPDATA "IpData"
     79 +#define OSINT_MODULE_IPGEOLOCATION "IpGeoLocation"
     80 +#define OSINT_MODULE_IPINFO "IpInfo"
     81 +#define OSINT_MODULE_IPREGISTRY "IpRegistry"
     82 +#define OSINT_MODULE_IPSTACK "IpStack"
     83 + 
     84 +/* iana */
     85 +#define OSINT_MODULE_AFRINIC "Afrinic"
     86 +#define OSINT_MODULE_APNIC "Apnic"
     87 +#define OSINT_MODULE_ARIN "Arin"
     88 +#define OSINT_MODULE_RIPE "Ripe"
     89 + 
     90 +/* mal */
     91 +#define OSINT_MODULE_ABUSEIPDB "AbuseIPDB"
     92 +#define OSINT_MODULE_BOTSCOUT "BotScout"
     93 +#define OSINT_MODULE_FRAUDGUARD "FraudGuard"
     94 +#define OSINT_MODULE_HYBRIDANALYSIS "HybridAnalysis"
     95 +#define OSINT_MODULE_IPQUALITYSCORE "IpQualityScore"
     96 +#define OSINT_MODULE_LEAKLOOKUP "LeakLookup"
     97 +#define OSINT_MODULE_VIRUSTOTAL "VirusTotal"
     98 + 
     99 +/* Scrape */
     100 +#define OSINT_MODULE_ASK "Ask"
     101 +#define OSINT_MODULE_BAIDU "Baidu"
     102 +#define OSINT_MODULE_BING "Bing"
     103 +#define OSINT_MODULE_DOGPILE "DogPile"
     104 +#define OSINT_MODULE_DUCKDUCKGO "DuckDuckGo"
     105 +#define OSINT_MODULE_EXALEAD "Exalead"
     106 +#define OSINT_MODULE_YAHOO "Yahoo"
     107 + 
     108 +/* site */
     109 +#define OSINT_MODULE_DNSDUMPSTER "DnsDumpster"
     110 +#define OSINT_MODULE_NETCRAFT "Netcraft"
     111 +#define OSINT_MODULE_PAGESINVENTORY "PagesInventory"
     112 +#define OSINT_MODULE_PKEY "PKey"
     113 +#define OSINT_MODULE_RAPIDDNS "RapidDNS"
     114 +#define OSINT_MODULE_SITEDOSSIER "SiteDossier"
    79 115   
    80 116  #endif // OSINTDEFINITIONS_H
    81 117   
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/iana/Afrinic.cpp
    skipped 13 lines
    14 14  Afrinic::Afrinic(ScanArgs args): AbstractOsintModule(args)
    15 15  {
    16 16   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    17  - log.moduleName = "Afrinic";
     17 + log.moduleName = OSINT_MODULE_AFRINIC;
    18 18   
    19 19   if(args.output_Raw)
    20 20   connect(manager, &s3sNetworkAccessManager::finished, this, &Afrinic::replyFinishedRawJson);
    skipped 31 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/iana/Afrinic.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct Afrinic{
    9  - QString name = "Afrinic";
     9 + QString name = OSINT_MODULE_AFRINIC;
    10 10   QString url = "https://afrinic.net/";
    11 11   QString url_apiDoc = "https://afrinic.net/whois/rdap#how-to";
    12 12   QString summary = "AFRINIC Whois Database is a public database containing information regarding the entities that hold Internet number resources "
    skipped 27 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/iana/Apnic.cpp
    skipped 10 lines
    11 11  Apnic::Apnic(ScanArgs args): AbstractOsintModule(args)
    12 12  {
    13 13   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    14  - log.moduleName = "Apnic";
     14 + log.moduleName = OSINT_MODULE_APNIC;
    15 15   
    16 16   if(args.output_Raw)
    17 17   connect(manager, &s3sNetworkAccessManager::finished, this, &Apnic::replyFinishedRawJson);
    skipped 22 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/iana/Apnic.h
    skipped 4 lines
    5 5   
    6 6  namespace ModuleInfo {
    7 7  struct Apnic{
    8  - QString name = "Apnic";
     8 + QString name = OSINT_MODULE_APNIC;
    9 9   QString url = "https://Apnic.net/";
    10 10   QString url_apiDoc = "https://www.apnic.net/about-apnic/whois_search/about/rdap/";
    11 11   QString summary = "The APNIC Whois Database is an official record that contains information regarding organizations that hold IP addresses and AS Numbers in the Asia Pacific region "
    skipped 20 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/iana/Arin.cpp
    skipped 30 lines
    31 31  Arin::Arin(ScanArgs args): AbstractOsintModule(args)
    32 32  {
    33 33   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    34  - log.moduleName = "Arin";
     34 + log.moduleName = OSINT_MODULE_ARIN;
    35 35   
    36 36   if(args.output_Raw)
    37 37   connect(manager, &s3sNetworkAccessManager::finished, this, &Arin::replyFinishedRawJson);
    skipped 80 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/iana/Arin.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct Arin{
    9  - QString name = "Arin";
     9 + QString name = OSINT_MODULE_ARIN;
    10 10   QString url = "https://www.arin.net/";
    11 11   QString url_apiDoc = "https://www.arin.net/resources/registry/whois/rws/api/";
    12 12   QString summary = "ARIN is a nonprofit, member-based organization that administers IP addresses & ASNs "
    skipped 59 lines
  • ■ ■ ■ ■ ■ ■
    sub3suite/src/modules/passive/iana/Ripe.cpp
    skipped 51 lines
    52 52  Ripe::Ripe(ScanArgs args): AbstractOsintModule(args)
    53 53  {
    54 54   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    55  - log.moduleName = "Ripe";
     55 + log.moduleName = OSINT_MODULE_RIPE;
    56 56   
    57 57   if(args.output_Raw)
    58 58   connect(manager, &s3sNetworkAccessManager::finished, this, &Ripe::replyFinishedRawJson);
    skipped 154 lines
    213 213   return;
    214 214   }
    215 215   
    216  - QUERY_TYPE = reply->property(REQUEST_TYPE).toInt();
    217 216   QJsonDocument document = QJsonDocument::fromJson(reply->readAll());
     217 + QJsonArray asns = document.object()["data"].toObject()["asns"].toArray();
    218 218   
    219  - if(QUERY_TYPE == NETWORK_INFO){
    220  - QJsonArray asns = document.object()["data"].toObject()["asns"].toArray();
     219 + switch (reply->property(REQUEST_TYPE).toInt())
     220 + {
     221 + case NETWORK_INFO:
    221 222   foreach(const QJsonValue &value, asns){
    222 223   emit resultASN(value.toString(), "");
    223 224   log.resultsCount++;
    skipped 9 lines
    233 234   return;
    234 235   }
    235 236   
    236  - QUERY_TYPE = reply->property(REQUEST_TYPE).toInt();
    237 237   QJsonDocument document = QJsonDocument::fromJson(reply->readAll());
    238 238   
    239  - if(QUERY_TYPE == RIS_PREFIXES){
     239 + switch (reply->property(REQUEST_TYPE).toInt())
     240 + {
     241 + case RIS_PREFIXES:
    240 242   QJsonObject prefixes = document.object()["data"].toObject()["prefixes"].toObject();
    241 243   
    242 244   /* for ipv4 */
    skipped 26 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/iana/Ripe.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct Ripe{
    9  - QString name = "Ripe";
     9 + QString name = OSINT_MODULE_RIPE;
    10 10   QString url = "https://stat.ripe.net/";
    11 11   QString url_apiDoc = "https://stat.ripe.net/docs/data_api";
    12 12   QString summary = "RIPEstat is a large-scale information service and the open data platform of the RIPE NCC. Get essential information on "
    skipped 107 lines
  • ■ ■ ■ ■ ■ ■
    sub3suite/src/modules/passive/ip/IpGeoLocation.cpp
    skipped 9 lines
    10 10  IpGeoLocation::IpGeoLocation(ScanArgs args): AbstractOsintModule(args)
    11 11  {
    12 12   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    13  - log.moduleName = "IpGeoLocation";
     13 + log.moduleName = OSINT_MODULE_IPGEOLOCATION;
    14 14   
    15 15   if(args.output_Raw)
    16 16   connect(manager, &s3sNetworkAccessManager::finished, this, &IpGeoLocation::replyFinishedRawJson);
    17  - ///
    18  - /// get api key...
    19  - ///
    20 17   
    21  - m_key = APIKEY.value("ipgeolocation").toString();
    22  -
     18 + /* get api key */
     19 + m_key = APIKEY.value(OSINT_MODULE_IPGEOLOCATION).toString();
    23 20  }
    24 21  IpGeoLocation::~IpGeoLocation(){
    25 22   delete manager;
    skipped 22 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/ip/IpGeoLocation.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct IpGeoLocation{
    9  - QString name = "IpGeoLocation";
     9 + QString name = OSINT_MODULE_IPGEOLOCATION;
    10 10   QString url = "https://ipgeolocation.io/";
    11 11   QString url_apiDoc = "https://ipgeolocation.io/documentation/";
    12 12   QString summary = "The Trusted Source of IP Address Data";
    skipped 24 lines
  • ■ ■ ■ ■ ■ ■
    sub3suite/src/modules/passive/ip/IpInfo.cpp
    skipped 14 lines
    15 15  IpInfo::IpInfo(ScanArgs args): AbstractOsintModule(args)
    16 16  {
    17 17   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    18  - log.moduleName = "IpInfo";
     18 + log.moduleName = OSINT_MODULE_IPINFO;
    19 19   
    20 20   if(args.output_Raw)
    21 21   connect(manager, &s3sNetworkAccessManager::finished, this, &IpInfo::replyFinishedRawJson);
    skipped 1 lines
    23 23   connect(manager, &s3sNetworkAccessManager::finished, this, &IpInfo::replyFinishedEnumIP);
    24 24   if(args.output_Hostname)
    25 25   connect(manager, &s3sNetworkAccessManager::finished, this, &IpInfo::replyFinishedSubdomain);
    26  - ///
    27  - /// getting the api key...
    28  - ///
    29 26   
    30  - m_key = APIKEY.value("ipinfo").toString();
    31  -
     27 + /* getting the api key */
     28 + m_key = APIKEY.value(OSINT_MODULE_IPINFO).toString();
    32 29  }
    33 30  IpInfo::~IpInfo(){
    34 31   delete manager;
    skipped 142 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/ip/IpInfo.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct IpInfo{
    9  - QString name = "IpInfo";
     9 + QString name = OSINT_MODULE_IPINFO;
    10 10   QString url = "https://ipinfo.io/";
    11 11   QString url_apiDoc = "https://ipinfo.io/developers";
    12 12   QString summary = "With IPinfo, you can pinpoint your users’ locations, customize their experiences, \n"
    skipped 33 lines
  • ■ ■ ■ ■ ■ ■
    sub3suite/src/modules/passive/ip/IpRegistry.cpp
    skipped 10 lines
    11 11  IpRegistry::IpRegistry(ScanArgs args): AbstractOsintModule(args)
    12 12  {
    13 13   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    14  - log.moduleName = "IpRegistry";
     14 + log.moduleName = OSINT_MODULE_IPREGISTRY;
    15 15   
    16 16   if(args.output_Raw)
    17 17   connect(manager, &s3sNetworkAccessManager::finished, this, &IpRegistry::replyFinishedRawJson);
    18  - ///
    19  - /// get api key...
    20  - ///
    21 18   
    22  - m_key = APIKEY.value("ipregistry").toString();
    23  -
     19 + /* get api key */
     20 + m_key = APIKEY.value(OSINT_MODULE_IPREGISTRY).toString();
    24 21  }
    25 22  IpRegistry::~IpRegistry(){
    26 23   delete manager;
    skipped 25 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/ip/IpRegistry.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct IpRegistry{
    9  - QString name = "IpRegistry";
     9 + QString name = OSINT_MODULE_IPREGISTRY;
    10 10   QString url = "https://ipregistry.co/";
    11 11   QString url_apiDoc = "https://ipregistry.co/docs/";
    12 12   QString summary = "Ipregistry is a trusted and in-depth IP Geolocation and Threat detections source of information that can benefit publishers, ad networks, retailers, financial services, e-commerce stores and more.";
    skipped 29 lines
  • ■ ■ ■ ■ ■ ■
    sub3suite/src/modules/passive/ip/IpStack.cpp
    skipped 10 lines
    11 11  IpStack::IpStack(ScanArgs args): AbstractOsintModule(args)
    12 12  {
    13 13   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    14  - log.moduleName = "IpStack";
     14 + log.moduleName = OSINT_MODULE_IPSTACK;
    15 15   
    16 16   if(args.output_Raw)
    17 17   connect(manager, &s3sNetworkAccessManager::finished, this, &IpStack::replyFinishedRawJson);
    18  - ///
    19  - /// get api key...
    20  - ///
    21 18   
    22  - m_key = APIKEY.value("ipstack").toString();
    23  -
     19 + /* get api key */
     20 + m_key = APIKEY.value(OSINT_MODULE_IPSTACK).toString();
    24 21  }
    25 22  IpStack::~IpStack(){
    26 23   delete manager;
    skipped 25 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/ip/IpStack.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct IpStack{
    9  - QString name = "IpStack";
     9 + QString name = OSINT_MODULE_IPSTACK;
    10 10   QString url = "https://ipstack.com/";
    11 11   QString url_apiDoc = "https://ipstack.com/documentation";
    12 12   QString summary = "ipstack offers a powerful, real-time IP to geolocation API capable of looking up accurate location data and assessing security threats originating from risky IP addresses.";
    skipped 27 lines
  • ■ ■ ■ ■ ■ ■
    sub3suite/src/modules/passive/mal/AbuseIPDB.cpp
    skipped 11 lines
    12 12  AbuseIPDB::AbuseIPDB(ScanArgs args): AbstractOsintModule(args)
    13 13  {
    14 14   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    15  - log.moduleName = "AbuseIPDB";
     15 + log.moduleName = OSINT_MODULE_ABUSEIPDB;
    16 16   
    17 17   if(args.output_Raw)
    18 18   connect(manager, &s3sNetworkAccessManager::finished, this, &AbuseIPDB::replyFinishedRawJson);
    19  - ///
    20  - /// get api key...
    21  - ///
    22 19   
    23  - m_key = APIKEY.value("abuseipdb").toString();
    24  -
     20 + /* get api key */
     21 + m_key = APIKEY.value(OSINT_MODULE_ABUSEIPDB).toString();
    25 22  }
    26 23  AbuseIPDB::~AbuseIPDB(){
    27 24   delete manager;
    skipped 28 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/mal/AbuseIPDB.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct AbuseIPDB{
    9  - QString name = "AbuseIPDB";
     9 + QString name = OSINT_MODULE_ABUSEIPDB;
    10 10   QString url = "https://abuseipdb.com/";
    11 11   QString url_apiDoc = "https://docs.abuseipdb.com/";
    12 12   QString summary = "AbuseIPDB is a project managed by Marathon Studios Inc. Our mission is to help make Web safer by providing a central repository for webmasters, system administrators, "
    skipped 28 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/mal/BotScout.cpp
    skipped 11 lines
    12 12  BotScout::BotScout(ScanArgs args): AbstractOsintModule(args)
    13 13  {
    14 14   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    15  - log.moduleName = "BotScout";
     15 + log.moduleName = OSINT_MODULE_BOTSCOUT;
    16 16   
    17 17   if(args.output_Raw)
    18 18   connect(manager, &s3sNetworkAccessManager::finished, this, &BotScout::replyFinishedRawJson);
    skipped 31 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/mal/BotScout.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct BotScout{
    9  - QString name = "BotScout";
     9 + QString name = OSINT_MODULE_BOTSCOUT;
    10 10   QString url = "http://botscout.com";
    11 11   QString url_apiDoc = "http://botscout.com/api.htm";
    12 12   QString summary = "BotScout helps prevent automated web scripts, known as bots, from registering on forums, polluting databases, spreading spam, and abusing forms on web sites. "
    skipped 27 lines
  • ■ ■ ■ ■ ■ ■
    sub3suite/src/modules/passive/mal/FraudGuard.cpp
    skipped 15 lines
    16 16  FraudGuard::FraudGuard(ScanArgs args): AbstractOsintModule(args)
    17 17  {
    18 18   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    19  - log.moduleName = "FraudGuard";
     19 + log.moduleName = OSINT_MODULE_FRAUDGUARD;
    20 20   
    21 21   if(args.output_Raw)
    22 22   connect(manager, &s3sNetworkAccessManager::finished, this, &FraudGuard::replyFinishedRawJson);
    23  - ///
    24  - /// get api key...
    25  - ///
    26 23   
     24 + /* get api key */
    27 25   m_user = APIKEY.value("fraudguard_user").toString();
    28 26   m_pass = APIKEY.value("fraudguard_pass").toString();
    29  -
    30 27  }
    31 28  FraudGuard::~FraudGuard(){
    32 29   delete manager;
    skipped 41 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/mal/FraudGuard.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct FraudGuard{
    9  - QString name = "FraudGuard";
     9 + QString name = OSINT_MODULE_FRAUDGUARD;
    10 10   QString url = "https://fraudguard.io/";
    11 11   QString url_apiDoc = "https://docs.fraudguard.io/";
    12 12   QString summary = "FraudGuard...";
    skipped 36 lines
  • ■ ■ ■ ■ ■ ■
    sub3suite/src/modules/passive/mal/HybridAnalysis.cpp
    skipped 6 lines
    7 7  HybridAnalysis::HybridAnalysis(ScanArgs args): AbstractOsintModule(args)
    8 8  {
    9 9   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    10  - log.moduleName = "HybridAnalysis";
     10 + log.moduleName = OSINT_MODULE_HYBRIDANALYSIS;
    11 11   
    12 12   if(args.output_Raw)
    13 13   connect(manager, &s3sNetworkAccessManager::finished, this, &HybridAnalysis::replyFinishedRawJson);
    14  - ///
    15  - /// get api key...
    16  - ///
    17 14   
    18  - m_key = APIKEY.value("hybridanalysis").toString();
    19  -
     15 + /* get api key */
     16 + m_key = APIKEY.value(OSINT_MODULE_HYBRIDANALYSIS).toString();
    20 17  }
    21 18  HybridAnalysis::~HybridAnalysis(){
    22 19   delete manager;
    skipped 25 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/mal/HybridAnalysis.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct HybridAnalysis{
    9  - QString name = "HybridAnalysis";
     9 + QString name = OSINT_MODULE_HYBRIDANALYSIS;
    10 10   QString url = "https://www.hybrid-analysis.com/";
    11 11   QString url_apiDoc = "https://www.hybrid-analysis.com/docs/api/v2";
    12 12   QString summary = "Detects and analyzes unknown threats using a unique Hybrid Analysis technology.";
    skipped 23 lines
  • ■ ■ ■ ■ ■ ■
    sub3suite/src/modules/passive/mal/IpQualityScore.cpp
    skipped 12 lines
    13 13  IpQualityScore::IpQualityScore(ScanArgs args): AbstractOsintModule(args)
    14 14  {
    15 15   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    16  - log.moduleName = "IpQualityScore";
     16 + log.moduleName = OSINT_MODULE_IPQUALITYSCORE;
    17 17   
    18 18   if(args.output_Raw)
    19 19   connect(manager, &s3sNetworkAccessManager::finished, this, &IpQualityScore::replyFinishedRawJson);
    20  - ///
    21  - /// get api key...
    22  - ///
    23 20   
    24  - m_key = APIKEY.value("ipqualityscore").toString();
    25  -
     21 + /* get api key */
     22 + m_key = APIKEY.value(OSINT_MODULE_IPQUALITYSCORE).toString();
    26 23  }
    27 24  IpQualityScore::~IpQualityScore(){
    28 25   delete manager;
    skipped 43 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/mal/IpQualityScore.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct IpQualityScore{
    9  - QString name = "IpQualityScore";
     9 + QString name = OSINT_MODULE_IPQUALITYSCORE;
    10 10   QString url = "https://www.ipqualityscore.com/";
    11 11   QString url_apiDoc = "https://www.ipqualityscore.com/documentation/overview";
    12 12   QString summary = "IPQualityScore offers a variety of different risk analysis APIs designed to Proactively Prevent Fraud™ for your company, website, or app. "
    skipped 33 lines
  • ■ ■ ■ ■ ■ ■
    sub3suite/src/modules/passive/mal/LeakLookup.cpp
    skipped 11 lines
    12 12  LeakLookup::LeakLookup(ScanArgs args): AbstractOsintModule(args)
    13 13  {
    14 14   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    15  - log.moduleName = "LeakLookup";
     15 + log.moduleName = OSINT_MODULE_LEAKLOOKUP;
    16 16   
    17 17   if(args.output_Raw)
    18 18   connect(manager, &s3sNetworkAccessManager::finished, this, &LeakLookup::replyFinishedRawJson);
    19  - ///
    20  - /// get api key...
    21  - ///
    22 19   
    23  - m_key = APIKEY.value("leaklookup").toString();
    24  -
     20 + /* get api key */
     21 + m_key = APIKEY.value(OSINT_MODULE_LEAKLOOKUP).toString();
    25 22  }
    26 23  LeakLookup::~LeakLookup(){
    27 24   delete manager;
    skipped 27 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/mal/LeakLookup.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct LeakLookup{
    9  - QString name = "Leak-Lookup";
     9 + QString name = OSINT_MODULE_LEAKLOOKUP;
    10 10   QString url = "https://leak-lookup.com/";
    11 11   QString url_apiDoc = "https://leak-lookup.com/api";
    12 12   QString summary = "Leak-Lookup allows you to search across thousands of data breaches to stay on top of credentials that may have been compromised, allowing you to proactively stay on top of the latest data leaks with ease.";
    skipped 29 lines
  • ■ ■ ■ ■ ■ ■
    sub3suite/src/modules/passive/mal/VirusTotal.cpp
    skipped 28 lines
    29 29  VirusTotal::VirusTotal(ScanArgs args): AbstractOsintModule(args)
    30 30  {
    31 31   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    32  - log.moduleName = "VirusTotal";
     32 + log.moduleName = OSINT_MODULE_VIRUSTOTAL;
    33 33   
    34 34   if(args.output_Raw)
    35 35   connect(manager, &s3sNetworkAccessManager::finished, this, &VirusTotal::replyFinishedRawJson);
    skipped 5 lines
    41 41   connect(manager, &s3sNetworkAccessManager::finished, this, &VirusTotal::replyFinishedSubdomain);
    42 42   if(args.output_SSL)
    43 43   connect(manager, &s3sNetworkAccessManager::finished, this, &VirusTotal::replyFinishedSSL);
    44  - ///
    45  - /// obtain apikey...
    46  - ///
    47 44   
    48  - m_key = APIKEY.value("virustotal").toString();
    49  -
     45 + /* obtain apikey */
     46 + m_key = APIKEY.value(OSINT_MODULE_VIRUSTOTAL).toString();
    50 47  }
    51 48  VirusTotal::~VirusTotal(){
    52 49   delete manager;
    skipped 144 lines
    197 194   return;
    198 195   }
    199 196   
    200  - QUERY_TYPE = reply->property(REQUEST_TYPE).toInt();
    201 197   QJsonDocument document = QJsonDocument::fromJson(reply->readAll());
    202 198   QJsonArray data = document.object()["data"].toArray();
    203 199   
    204  - /* from v2 api endpoint */
    205  - if(QUERY_TYPE == V2_DOMAIN || QUERY_TYPE == V2_IPADDRESS){
     200 + switch (reply->property(REQUEST_TYPE).toInt())
     201 + {
     202 + case V2_DOMAIN:
     203 + case V2_IPADDRESS:
     204 + {
    206 205   QJsonArray subdomains = document.object()["subdomains"].toArray();
    207 206   foreach(const QJsonValue &value, subdomains){
    208 207   QString hostname = value.toString();
    skipped 1 lines
    210 209   log.resultsCount++;
    211 210   }
    212 211   }
     212 + break;
    213 213   
    214  - /* alternative names from historical ssl certificates */
    215  - if(QUERY_TYPE == DOMAIN_HISTORICAL_SSL_CERTS || QUERY_TYPE == IP_HISTORICAL_SSL_CERTS){
     214 + case DOMAIN_HISTORICAL_SSL_CERTS:
     215 + case IP_HISTORICAL_SSL_CERTS:
     216 + {
    216 217   foreach(const QJsonValue &value, data){
    217 218   QJsonArray subject_alternative_name = value.toObject()["attributes"].toObject()["extensions"].toObject()["subject_alternative_name"].toArray();
    218 219   foreach(const QJsonValue &alt_name, subject_alternative_name){
    skipped 3 lines
    222 223   }
    223 224   }
    224 225   }
     226 + break;
    225 227   
    226  - if(QUERY_TYPE == DOMAIN_SUBDOMAINS){
     228 + case DOMAIN_SUBDOMAINS:
     229 + {
    227 230   foreach(const QJsonValue &value, data){
    228 231   /* from id */
    229 232   QString hostname = value.toObject()["id"].toString();
    skipped 32 lines
    262 265   }
    263 266   }
    264 267   }
     268 + break;
    265 269   
    266  - if(QUERY_TYPE == IP_RESOLUTIONS){
     270 + case IP_RESOLUTIONS:
    267 271   foreach(const QJsonValue &value, data){
    268 272   QString hostname = value.toObject()["attributes"].toObject()["host_name"].toString();
    269 273   emit resultSubdomain(hostname);
    270 274   log.resultsCount++;
    271 275   }
    272 276   }
     277 + 
    273 278   end(reply);
    274 279  }
    275 280   
    skipped 3 lines
    279 284   return;
    280 285   }
    281 286   
    282  - QUERY_TYPE = reply->property(REQUEST_TYPE).toInt();
    283 287   QJsonDocument document = QJsonDocument::fromJson(reply->readAll());
    284 288   QJsonArray data = document.object()["data"].toArray();
    285 289   
    286  - /* from v2 api endpoint */
    287  - if(QUERY_TYPE == V2_DOMAIN || QUERY_TYPE == V2_IPADDRESS){
     290 + switch (reply->property(REQUEST_TYPE).toInt())
     291 + {
     292 + case V2_DOMAIN:
     293 + case V2_IPADDRESS:
     294 + {
    288 295   QJsonArray resolutions = document.object()["resolutions"].toArray();
    289 296   foreach(const QJsonValue &value, resolutions){
    290 297   QString address = value.toObject()["ip_address"].toString();
    skipped 1 lines
    292 299   log.resultsCount++;
    293 300   }
    294 301   }
     302 + break;
    295 303   
    296  - /* from v3 api endpoint */
    297  - if(QUERY_TYPE == DOMAIN_RESOLUTIONS){
     304 + case DOMAIN_RESOLUTIONS:
     305 + {
    298 306   foreach(const QJsonValue &value, data){
    299 307   QString address = value.toObject()["attributes"].toObject()["ip_address"].toString();
    300 308   emit resultIP(address);
    301 309   log.resultsCount++;
    302 310   }
    303 311   }
     312 + break;
    304 313   
    305  - if(QUERY_TYPE == DOMAIN_SUBDOMAINS){
     314 + case DOMAIN_SUBDOMAINS:
     315 + {
    306 316   foreach(const QJsonValue &value, data){
    307 317   /* from last dns records */
    308 318   QJsonArray last_dns_records = value.toObject()["attributes"].toObject()["last_dns_records"].toArray();
    skipped 13 lines
    322 332   }
    323 333   }
    324 334   }
     335 + }
     336 + 
    325 337   end(reply);
    326 338  }
    327 339   
    skipped 3 lines
    331 343   return;
    332 344   }
    333 345   
    334  - QUERY_TYPE = reply->property(REQUEST_TYPE).toInt();
    335 346   QJsonDocument document = QJsonDocument::fromJson(reply->readAll());
    336 347   QJsonArray data = document.object()["data"].toArray();
    337 348   
    338  - /* from v2 api endpoint */
    339  - if(QUERY_TYPE == V2_DOMAIN || QUERY_TYPE == V2_IPADDRESS){
     349 + switch (reply->property(REQUEST_TYPE).toInt())
     350 + {
     351 + case V2_DOMAIN:
     352 + case V2_IPADDRESS:
     353 + {
    340 354   QJsonArray detected_urls = document.object()["detected_urls"].toArray();
    341 355   foreach(const QJsonValue &value, detected_urls){
    342 356   QString detected_url = value.toArray().at(0).toString();
    skipped 8 lines
    351 365   log.resultsCount++;
    352 366   }
    353 367   }
     368 + }
     369 + 
    354 370   end(reply);
    355 371  }
    356 372   
    skipped 3 lines
    360 376   return;
    361 377   }
    362 378   
    363  - QUERY_TYPE = reply->property(REQUEST_TYPE).toInt();
    364 379   QJsonDocument document = QJsonDocument::fromJson(reply->readAll());
    365 380   QJsonArray data = document.object()["data"].toArray();
    366 381   
    367  - /* certificate id from historical ssl certificates */
    368  - if(QUERY_TYPE == DOMAIN_HISTORICAL_SSL_CERTS || QUERY_TYPE == IP_HISTORICAL_SSL_CERTS){
     382 + switch (reply->property(REQUEST_TYPE).toInt())
     383 + {
     384 + case DOMAIN_HISTORICAL_SSL_CERTS:
     385 + case IP_HISTORICAL_SSL_CERTS:
    369 386   foreach(const QJsonValue &value, data){
    370 387   QString cert_id = value.toObject()["id"].toString();
    371 388   emit resultSSL(cert_id);
    372 389   log.resultsCount++;
    373 390   }
    374  - }
     391 + break;
    375 392   
    376  - if(QUERY_TYPE == DOMAIN_SUBDOMAINS){
     393 + case DOMAIN_SUBDOMAINS:
    377 394   foreach(const QJsonValue &value, data){
    378 395   /* from ssl cert alternative name */
    379 396   QJsonObject last_https_certificate = value.toObject()["attributes"].toObject()["last_https_certificate"].toObject();
    skipped 2 lines
    382 399   log.resultsCount++;
    383 400   }
    384 401   }
     402 + 
    385 403   end(reply);
    386 404  }
    387 405   
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/scrape/Ask.cpp
    skipped 4 lines
    5 5  Ask::Ask(ScanArgs args): AbstractOsintModule(args)
    6 6  {
    7 7   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    8  - log.moduleName = "Ask";
     8 + log.moduleName = OSINT_MODULE_ASK;
    9 9   
    10 10   if(args.output_Hostname)
    11 11   connect(manager, &s3sNetworkAccessManager::finished, this, &Ask::replyFinishedSubdomain);
    skipped 195 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/scrape/Ask.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct Ask{
    9  - QString name = "Ask";
     9 + QString name = OSINT_MODULE_ASK;
    10 10   QString url = "https://ask.com/";
    11 11   QString url_apiDoc = "";
    12 12   QString summary = "";
    skipped 26 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/scrape/Baidu.cpp
    skipped 7 lines
    8 8  Baidu::Baidu(ScanArgs args): AbstractOsintModule(args)
    9 9  {
    10 10   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    11  - log.moduleName = "Baidu";
     11 + log.moduleName = OSINT_MODULE_BAIDU;
    12 12   
    13 13   if(args.output_Hostname)
    14 14   connect(manager, &s3sNetworkAccessManager::finished, this, &Baidu::replyFinishedSubdomain);
    skipped 189 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/scrape/Baidu.h
    skipped 4 lines
    5 5   
    6 6  namespace ModuleInfo {
    7 7  struct Baidu{
    8  - QString name = "Baidu";
     8 + QString name = OSINT_MODULE_BAIDU;
    9 9   QString url = "https://baidu.com/";
    10 10   QString url_apiDoc = "";
    11 11   QString summary = "";
    skipped 25 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/scrape/Bing.cpp
    skipped 8 lines
    9 9  Bing::Bing(ScanArgs args): AbstractOsintModule(args)
    10 10  {
    11 11   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    12  - log.moduleName = "Bing";
     12 + log.moduleName = OSINT_MODULE_BING;
    13 13   
    14 14   if(args.output_Hostname)
    15 15   connect(manager, &s3sNetworkAccessManager::finished, this, &Bing::replyFinishedSubdomain);
    skipped 184 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/scrape/Bing.h
    skipped 4 lines
    5 5   
    6 6  namespace ModuleInfo {
    7 7  struct Bing{
    8  - QString name = "Bing";
     8 + QString name = OSINT_MODULE_BING;
    9 9   QString url = "https://bing.com/";
    10 10   QString url_apiDoc = "";
    11 11   QString summary = "";
    skipped 25 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/scrape/DogPile.cpp
    skipped 8 lines
    9 9  DogPile::DogPile(ScanArgs args): AbstractOsintModule(args)
    10 10  {
    11 11   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    12  - log.moduleName = "DogPile";
     12 + log.moduleName = OSINT_MODULE_DOGPILE;
    13 13   
    14 14   if(args.output_Hostname)
    15 15   connect(manager, &s3sNetworkAccessManager::finished, this, &DogPile::replyFinishedSubdomain);
    skipped 166 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/scrape/DogPile.h
    skipped 4 lines
    5 5   
    6 6  namespace ModuleInfo {
    7 7  struct DogPile{
    8  - QString name = "DogPile";
     8 + QString name = OSINT_MODULE_DOGPILE;
    9 9   QString url = "https://dogpile.com/";
    10 10   QString url_apiDoc = "";
    11 11   QString summary = "";
    skipped 26 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/scrape/DuckDuckGo.cpp
    skipped 7 lines
    8 8  DuckDuckGo::DuckDuckGo(ScanArgs args): AbstractOsintModule(args)
    9 9  {
    10 10   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    11  - log.moduleName = "DuckDuckGo";
     11 + log.moduleName = OSINT_MODULE_DUCKDUCKGO;
    12 12   
    13 13   if(args.output_Hostname)
    14 14   connect(manager, &s3sNetworkAccessManager::finished, this, &DuckDuckGo::replyFinishedSubdomain);
    skipped 119 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/scrape/DuckDuckGo.h
    skipped 4 lines
    5 5   
    6 6  namespace ModuleInfo {
    7 7  struct DuckDuckGo{
    8  - QString name = "DuckDuckGo";
     8 + QString name = OSINT_MODULE_DUCKDUCKGO;
    9 9   QString url = "https://duckduckgo.com/";
    10 10   QString url_apiDoc = "";
    11 11   QString summary = "";
    skipped 20 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/scrape/Exalead.cpp
    skipped 7 lines
    8 8  Exalead::Exalead(ScanArgs args): AbstractOsintModule(args)
    9 9  {
    10 10   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    11  - log.moduleName = "Exalead";
     11 + log.moduleName = OSINT_MODULE_EXALEAD;
    12 12   
    13 13   if(args.output_Hostname)
    14 14   connect(manager, &s3sNetworkAccessManager::finished, this, &Exalead::replyFinishedSubdomain);
    skipped 118 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/scrape/Exalead.h
    skipped 4 lines
    5 5   
    6 6  namespace ModuleInfo {
    7 7  struct Exalead{
    8  - QString name = "Exalead";
     8 + QString name = OSINT_MODULE_EXALEAD;
    9 9   QString url = "https://exalead.com/";
    10 10   QString url_apiDoc = "";
    11 11   QString summary = "";
    skipped 20 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/scrape/Yahoo.cpp
    skipped 8 lines
    9 9  Yahoo::Yahoo(ScanArgs args): AbstractOsintModule(args)
    10 10  {
    11 11   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    12  - log.moduleName = "Yahoo";
     12 + log.moduleName = OSINT_MODULE_YAHOO;
    13 13   
    14 14   if(args.output_Hostname)
    15 15   connect(manager, &s3sNetworkAccessManager::finished, this, &Yahoo::replyFinishedSubdomain);
    skipped 190 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/scrape/Yahoo.h
    skipped 4 lines
    5 5   
    6 6  namespace ModuleInfo {
    7 7  struct Yahoo{
    8  - QString name = "Yahoo";
     8 + QString name = OSINT_MODULE_YAHOO;
    9 9   QString url = "https://yahoo.com/";
    10 10   QString url_apiDoc = "";
    11 11   QString summary = "";
    skipped 26 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/site/Dnsdumpster.cpp
    skipped 6 lines
    7 7  Dnsdumpster::Dnsdumpster(ScanArgs args): AbstractOsintModule(args)
    8 8  {
    9 9   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    10  - log.moduleName = "DnsDumpster";
     10 + log.moduleName = OSINT_MODULE_DNSDUMPSTER;
    11 11   
    12 12   if(args.output_HostnameIP)
    13 13   connect(manager, &s3sNetworkAccessManager::finished, this, &Dnsdumpster::replyFinishedSubdomainIp);
    skipped 214 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/site/Dnsdumpster.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct Dnsdumpster{
    9  - QString name = "Dnsdumpster";
     9 + QString name = OSINT_MODULE_DNSDUMPSTER;
    10 10   QString url = "https://dnsdumpster.com/";
    11 11   QString url_apiDoc = "";
    12 12   QString summary = "";
    skipped 25 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/site/Netcraft.cpp
    skipped 9 lines
    10 10  Netcraft::Netcraft(ScanArgs args): AbstractOsintModule(args)
    11 11  {
    12 12   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    13  - log.moduleName = "Netcraft";
     13 + log.moduleName = OSINT_MODULE_NETCRAFT;
    14 14   
    15 15   if(args.output_Hostname)
    16 16   connect(manager, &s3sNetworkAccessManager::finished, this, &Netcraft::replyFinishedSubdomain);
    skipped 58 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/site/Netcraft.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct Netcraft{
    9  - QString name = "Netcraft";
     9 + QString name = OSINT_MODULE_NETCRAFT;
    10 10   QString url = "https://netcraft.com/";
    11 11   QString url_apiDoc = "";
    12 12   QString summary = "Netcraft is an internet services company based in the United Kingdom which provides internet security services, including cybercrime disruption, application security testing and automated vulnerability scanning."
    skipped 19 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/site/PagesInventory.cpp
    skipped 8 lines
    9 9  PagesInventory::PagesInventory(ScanArgs args): AbstractOsintModule(args)
    10 10  {
    11 11   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    12  - log.moduleName = "PagesInventory";
     12 + log.moduleName = OSINT_MODULE_PAGESINVENTORY;
    13 13   
    14 14   if(args.output_HostnameIP)
    15 15   connect(manager, &s3sNetworkAccessManager::finished, this, &PagesInventory::replyFinishedSubdomainIp);
    skipped 205 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/site/PagesInventory.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct PagesInventory{
    9  - QString name = "PagesInventory";
     9 + QString name = OSINT_MODULE_PAGESINVENTORY;
    10 10   QString url = "https://pagesinventory.com/";
    11 11   QString url_apiDoc = "";
    12 12   QString summary = "";
    skipped 21 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/site/Pkey.cpp
    skipped 4 lines
    5 5  Pkey::Pkey(ScanArgs args): AbstractOsintModule(args)
    6 6  {
    7 7   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    8  - log.moduleName = "PKey";
     8 + log.moduleName = OSINT_MODULE_PKEY;
    9 9   
    10 10   if(args.output_HostnameIP)
    11 11   connect(manager, &s3sNetworkAccessManager::finished, this, &Pkey::replyFinishedSubdomainIp);
    skipped 177 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/site/Pkey.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct Pkey{
    9  - QString name = "Pkey";
     9 + QString name = OSINT_MODULE_PKEY;
    10 10   QString url = "https://pkey.in/";
    11 11   QString url_apiDoc = "";
    12 12   QString summary = "";
    skipped 21 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/site/Rapiddns.cpp
    skipped 7 lines
    8 8  Rapiddns::Rapiddns(ScanArgs args): AbstractOsintModule(args)
    9 9  {
    10 10   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    11  - log.moduleName = "RapidDns";
     11 + log.moduleName = OSINT_MODULE_RAPIDDNS;
    12 12   
    13 13   if(args.output_Hostname)
    14 14   connect(manager, &s3sNetworkAccessManager::finished, this, &Rapiddns::replyFinishedSubdomain);
    skipped 176 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/site/Rapiddns.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct Rapiddns{
    9  - QString name = "Rapiddns";
     9 + QString name = OSINT_MODULE_RAPIDDNS;
    10 10   QString url = "https://rapiddns.io/";
    11 11   QString url_apiDoc = "";
    12 12   QString summary = "RapidDNS is a dns query tool which make querying subdomains or sites of a same ip easy!";
    skipped 25 lines
  • ■ ■ ■ ■ ■
    sub3suite/src/modules/passive/site/SiteDossier.cpp
    skipped 7 lines
    8 8   */
    9 9  SiteDossier::SiteDossier(ScanArgs args): AbstractOsintModule(args)
    10 10  {
     11 + 
    11 12   manager = new s3sNetworkAccessManager(this, args.config->timeout);
    12  - log.resultsCount++;
     13 + log.moduleName = OSINT_MODULE_SITEDOSSIER;
    13 14   
    14 15   if(args.output_Hostname)
    15 16   connect(manager, &s3sNetworkAccessManager::finished, this, &SiteDossier::replyFinishedSubdomain);
    skipped 52 lines
  • ■ ■ ■ ■
    sub3suite/src/modules/passive/site/SiteDossier.h
    skipped 5 lines
    6 6   
    7 7  namespace ModuleInfo {
    8 8  struct SiteDossier{
    9  - QString name = "SiteDossier";
     9 + QString name = OSINT_MODULE_SITEDOSSIER;
    10 10   QString url = "https://sitedossier.com/";
    11 11   QString url_apiDoc = "";
    12 12   QString summary = "";
    skipped 19 lines
Please wait...
Page is in error, reload to recover