lunes, 5 de junio de 2023

How To Connect Database With PHP | Cool Interface Software | Tutorial 2


Welcome to my 2nd tutorial of PHP and MYSQL. In the previous video I've discussed How to download and install a server PHP and also How to create databases and How to create tables in the databases in the form of rows and columns.

In this video I've discussed multiple ways to connect database with PHP such as by using variables etc. First of all you have need to install a cool interface software for coding. I suggested you to download any one of them such as Dreamweaver, Notepad++, Sublime Text Editor and Atom etc. I'm using sublime text editor in this series of tutorial.

Syntax of PHP

<?php

//type here the code

?>


How to save the PHP file

You should save your PHP file in the root directory of the server. In XAMPP the "htdocs" is the root directory of the server. In WAMPP "www" is the root directory. Now how to save the file?

Step 1:

Press CTRL + S button to safe the file.

Step 2:

Go to the server location where it has been installed. By default it is installed in Local Disk C. Got C drive.

Step 3:

Go to XAMPP directory.

Step 4:

Go to htdocs diretory.

Step 5:

Save a file there with extension ".php". You can create a different folders for different projects in htdocs directory. So first create the folder in htdocs and then save your files in the folder.

How to Run PHP Script

Step 1:

Open a XAMPP control panel and start Apache and Mysql services.

Step 2:

Open your web browser.

Step 3:

Type localhost/yourFolderName/yourFileName.php and hit enter. For example: localhost/myFolder/index.php.



Related articles

  1. How To Make Hacking Tools
  2. Pentest Tools Tcp Port Scanner
  3. Hack Apps
  4. Hack And Tools
  5. Hack Tools Pc
  6. Pentest Tools Free
  7. New Hacker Tools
  8. Tools Used For Hacking
  9. Hacking Tools Download
  10. Hacking Tools Usb
  11. How To Make Hacking Tools
  12. Hacking Tools Windows 10
  13. Hacking Tools For Windows
  14. Hack Tool Apk
  15. Hacking Tools Online
  16. Hack Tools For Games
  17. Hack Apps
  18. Hacking Tools Name
  19. Hacking Tools For Games
  20. Hacker Tools Online
  21. Pentest Tools Online
  22. Free Pentest Tools For Windows
  23. New Hacker Tools
  24. Pentest Tools List
  25. Hacker
  26. Hacker Tools 2019
  27. Pentest Tools Online
  28. Hacker Tools Hardware
  29. Hacking Tools Windows 10
  30. Hacker Tools Github
  31. Computer Hacker
  32. Underground Hacker Sites
  33. Pentest Tools Download
  34. Hacks And Tools
  35. Beginner Hacker Tools
  36. Hack Tool Apk
  37. Pentest Tools Open Source
  38. Hacker Tools For Windows
  39. Pentest Reporting Tools
  40. Pentest Recon Tools
  41. How To Make Hacking Tools
  42. Blackhat Hacker Tools
  43. Hack Tools For Pc
  44. Hacker Tools Apk Download
  45. Beginner Hacker Tools
  46. Hacking Tools Online
  47. Pentest Tools List
  48. Hacker Tools Online
  49. New Hacker Tools
  50. Pentest Tools For Mac
  51. Pentest Tools Url Fuzzer
  52. Computer Hacker
  53. Hacker Tools For Ios
  54. Hacking Tools For Games
  55. Pentest Tools List
  56. Hacker Search Tools
  57. Nsa Hacker Tools
  58. Hacking Tools Mac
  59. Pentest Tools Online
  60. Pentest Reporting Tools
  61. Pentest Tools Android
  62. Hacker Tools
  63. Github Hacking Tools
  64. Hacker Tools List
  65. New Hack Tools
  66. Pentest Tools Apk
  67. Hack Tools For Pc
  68. Hacking Tools Windows
  69. Pentest Tools Find Subdomains
  70. Hacking Tools Mac
  71. Hacking Tools 2019
  72. Pentest Tools Open Source
  73. Hack Website Online Tool
  74. Nsa Hacker Tools
  75. Hacking Tools Mac
  76. Hacker Tools Linux
  77. Hack Tools For Windows
  78. Hack Tool Apk No Root
  79. Blackhat Hacker Tools
  80. Tools Used For Hacking
  81. Hacking Tools Software
  82. Hack Tools For Ubuntu
  83. Hacker Techniques Tools And Incident Handling
  84. Hacker Tools Software
  85. Pentest Reporting Tools
  86. Hacking Tools For Beginners
  87. Pentest Tools Framework
  88. Pentest Tools For Android
  89. Nsa Hacker Tools
  90. Hack Tools
  91. Github Hacking Tools
  92. How To Hack
  93. Pentest Tools Online
  94. Hacking Apps
  95. Tools For Hacker
  96. Pentest Tools For Mac
  97. Nsa Hack Tools
  98. Hacking Tools Pc
  99. Hacker Tools Hardware
  100. Game Hacking
  101. Pentest Tools Android
  102. Pentest Tools For Android
  103. How To Install Pentest Tools In Ubuntu
  104. Hacking Tools Kit
  105. Hak5 Tools
  106. Pentest Tools Nmap
  107. Github Hacking Tools
  108. Pentest Tools For Mac
  109. Hacker Tools Apk
  110. Underground Hacker Sites
  111. Best Hacking Tools 2020
  112. Hacker Tools For Pc
  113. Top Pentest Tools
  114. Hacker Tools For Windows
  115. Hacker Tool Kit
  116. Hack Tools Pc
  117. Hacker Tools Free
  118. Pentest Tools Free
  119. Hacking Tools For Windows
  120. Hack Rom Tools
  121. Hacking Tools Software
  122. Hacking Tools Pc
  123. Best Hacking Tools 2020
  124. Hacker Tools Hardware
  125. Underground Hacker Sites
  126. Pentest Tools Website

IPHONE PLAYERS Vs POCO X3 PRO GAMEPLAY WHICH DEVICE IS BETTER???

More info


  1. Pentest Automation Tools
  2. Tools 4 Hack
  3. Hack Tools
  4. Hacking Tools Pc
  5. Hacker Tools Apk Download
  6. Hacking Tools For Beginners
  7. Hacking Tools Hardware
  8. How To Hack
  9. Pentest Tools For Windows
  10. Hacker Tools List
  11. Physical Pentest Tools
  12. Hacking Tools And Software
  13. Hacking Tools For Beginners
  14. Hacker Tools 2019
  15. Pentest Tools Free
  16. Usb Pentest Tools
  17. Wifi Hacker Tools For Windows
  18. Kik Hack Tools
  19. Bluetooth Hacking Tools Kali
  20. How To Make Hacking Tools
  21. Pentest Tools For Mac
  22. Game Hacking
  23. Free Pentest Tools For Windows
  24. Hacker Tools Free
  25. Best Hacking Tools 2020
  26. Pentest Tools Website
  27. Pentest Tools Open Source
  28. What Is Hacking Tools
  29. Pentest Tools Url Fuzzer
  30. Hacker Tools
  31. What Is Hacking Tools
  32. Pentest Tools
  33. Hacker Tools Linux
  34. Top Pentest Tools
  35. Pentest Tools Find Subdomains
  36. Hacking Tools Name
  37. Hacking Tools Pc
  38. Pentest Tools Website Vulnerability
  39. Hacker Tools
  40. Hacking Tools And Software
  41. What Are Hacking Tools
  42. Hacker Tool Kit
  43. Hack Rom Tools
  44. Hacking App
  45. Hack Tools Online
  46. Pentest Recon Tools
  47. Hacking Tools Name
  48. Hack Tool Apk
  49. How To Hack
  50. Hack Tools Online
  51. Pentest Tools Port Scanner
  52. Hacking Tools 2019
  53. What Are Hacking Tools
  54. Hacker Tools Online
  55. Tools Used For Hacking
  56. Hackrf Tools
  57. Hacker Tools
  58. Top Pentest Tools
  59. Hacker Security Tools
  60. Hacker Tools Online
  61. Hack Tool Apk No Root
  62. Usb Pentest Tools
  63. Hacker Tools For Windows
  64. Hacking Tools Download
  65. Hacker Techniques Tools And Incident Handling
  66. Hacking Tools For Games
  67. Ethical Hacker Tools
  68. Pentest Tools Find Subdomains
  69. Hack Tools For Ubuntu
  70. Hackers Toolbox
  71. Hack Tools
  72. Tools For Hacker
  73. Hacker Tools For Pc
  74. Pentest Reporting Tools
  75. Hacker Tools Apk
  76. Pentest Tools For Mac
  77. Hacker Tools Free Download
  78. Hack And Tools
  79. Hacking Tools 2020
  80. Physical Pentest Tools
  81. Ethical Hacker Tools
  82. Pentest Tools Url Fuzzer
  83. Pentest Tools Open Source
  84. Blackhat Hacker Tools
  85. Hacking Tools For Pc
  86. Growth Hacker Tools
  87. Hack Tools For Windows
  88. Blackhat Hacker Tools
  89. Pentest Tools Windows
  90. Black Hat Hacker Tools
  91. Nsa Hacker Tools
  92. Hack Tools 2019
  93. Pentest Tools Nmap
  94. Pentest Tools Bluekeep
  95. Pentest Tools Free
  96. Hacking Tools Name
  97. Beginner Hacker Tools
  98. Pentest Tools Bluekeep
  99. Game Hacking
  100. Hack Tools Download
  101. Hacking Tools Hardware
  102. Growth Hacker Tools
  103. Hacker Tools Hardware
  104. Kik Hack Tools
  105. Pentest Tools Nmap
  106. Hack Tools For Pc
  107. Hacker Hardware Tools
  108. Wifi Hacker Tools For Windows
  109. Pentest Box Tools Download
  110. Pentest Tools Tcp Port Scanner
  111. Hacking Tools For Pc
  112. Hacker Hardware Tools
  113. Hack Website Online Tool
  114. Nsa Hacker Tools
  115. Hacker Tools For Mac
  116. How To Hack
  117. New Hack Tools
  118. Free Pentest Tools For Windows
  119. Top Pentest Tools
  120. Hack Tools For Pc
  121. Hack Tools
  122. Github Hacking Tools
  123. What Is Hacking Tools

DOWNLOAD NANOCORE RAT 1.2.2.0 CRACKED – REMOTE ADMINISTRATION TOOL

NanoCore is one of the most powerful RATs ever created. It is capable of taking complete control of a victim's machine. It allows a user to control the system with a Graphical User Interface (GUI). It has many features which allow a user to access remote computer as an administrator. Download nanocore rat 1.2.2.0 cracked version free of cost.
NanoCore's developer was arrested by FBI and pleaded guilty in 2017 for developing such a malicious privacy threat, and sentenced 33 months in prison.

FEATURES

  • Complete Stealth Remote Control
  • Recover Passwords from the Victim Device
  • Manage Networks
  • Manage Files
  • Surveillance
  • Plugins (To take it to the next level)
  • Many advanced features like SCRIPTING

DOWNLOAD NANOCORE RAT 1.2.2.0 CRACKED – REMOTE ADMINISTRATION TOOL

Related news

domingo, 4 de junio de 2023

Why (I Believe) WADA Was Not Hacked By The Russians

Disclaimer: This is my personal opinion. I am not an expert in attribution. But as it turns out, not many people in the world are good at attribution. I know this post lacks real evidence and is mostly based on speculation.



Let's start with the main facts we know about the WADA hack, in chronological order:


1. Some point in time (August - September 2016), the WADA database has been hacked and exfiltrated
2. August 15th, "WADA has alerted their stakeholders that email phishing scams are being reported in connection with WADA and therefore asks its recipients to be careful"  https://m.paralympic.org/news/wada-warns-stakeholders-phishing-scams
3. September 1st, the fancybear.net domain has been registered
   Domain Name: FANCYBEAR.NET    ...    Updated Date: 18-sep-2016    Creation Date: 01-sep-2016
 
4. The content of the WADA hack has been published on the website
5. The @FancyBears and @FancyBearsHT Twitter accounts have been created and started to tweet on 12th September, reaching out to journalists
6. 12th September, Western media started headlines "Russia hacked WADA"
7. The leaked documents have been altered, states WADA https://www.wada-ama.org/en/media/news/2016-10/cyber-security-update-wadas-incident-response


The Threatconnect analysis

The only technical analysis on why Russia was behind the hack, can be read here: https://www.threatconnect.com/blog/fancy-bear-anti-doping-agency-phishing/

After reading this, I was able to collect the following main points:

  1. It is Russia because Russian APT groups are capable of phishing
  2. It is Russia because the phishing site "wada-awa[.]org was registered and uses a name server from ITitch[.]com, a domain registrar that FANCY BEAR actors recently used"
  3. It is Russia because "Wada-arna[.]org and tas-cass[.]org were registered through and use name servers from Domains4bitcoins[.]com, a registrar that has also been associated with FANCY BEAR activity."
  4. It is Russia, because "The registration of these domains on August 3rd and 8th, 2016 are consistent with the timeline in which the WADA recommended banning all Russian athletes from the Olympic and Paralympic games."
  5. It is Russia, because "The use of 1&1 mail.com webmail addresses to register domains matches a TTP we previously identified for FANCY BEAR actors."

There is an interesting side-track in the article, the case of the @anpoland account. Let me deal with this at the end of this post.

My problem with the above points is that all five flag was publicly accessible to anyone as TTP's for Fancy Bear. And meanwhile, all five is weak evidence. Any script kittie in the world is capable of both hacking WADA and planting these false-flags.

A stronger than these weak pieces of evidence would be:

  • Malware sharing same code attributed to Fancy Bear (where the code is not publicly available or circulating on hackforums)
  • Private servers sharing the IP address with previous attacks attributed to Fancy Bear (where the server is not a hacked server or a proxy used by multiple parties)
  • E-mail addresses used to register the domain attributed to Fancy Bear
  • Many other things
For me, it is quite strange that after such great analysis on Guccifer 2.0, the Threatconnect guys came up with this low-value post. 


The fancybear website

It is quite unfortunate that the analysis was not updated after the documents have been leaked. But let's just have a look at the fancybear . net website, shall we?

Now the question is, if you are a Russian state-sponsored hacker group, and you are already accused of the hack itself, do you create a website with tons of bears on the website, and do you choose the same name (Fancy Bear) for your "Hack team" that is already used by Crowdstrike to refer to a Russian state-sponsored hacker group? Well, for me, it makes no sense. Now I can hear people screaming: "The Russians changed tactics to confuse us". Again, it makes no sense to change tactics on this, while keeping tactics on the "evidence" found by Threatconnect.

It makes sense that a Russian state-sponsored group creates a fake persona, names it Guccifer 2.0, pretends Guccifer 2.0 is from Romania, but in the end it turns out Guccifer 2.0 isn't a native Romanian speaker. That really makes sense.

What happens when someone creates this fancybear website for leaking the docs, and from the Twitter account reaches out to the media? Journalists check the website, they see it was done by Fancy Bear, they Bing Google this name, and clearly see it is a Russian state-sponsored hacker group. Some journalists also found the Threatconnect report, which seems very convincing for the first read. I mean, it is a work of experts, right? So you can write in the headlines that the hack was done by the Russians.

Just imagine an expert in the USA or Canada writing in report for WADA:
"the hack was done by non-Russian, but state-sponsored actors, who planted a lot of false-flags to accuse the Russians and to destroy confidence in past and future leaks". Well, I am sure this is not a popular opinion, and whoever tries this, risks his career. Experts are human, subject to all kinds of bias.

The Guardian

The only other source I was able to find is from The Guardian, where not just one side (it was Russia) was represented in the article. It is quite unfortunate that both experts are from Russia - so people from USA will call them being not objective on the matter. But the fact that they are Russian experts does not mean they are not true ...

https://www.theguardian.com/sport/2016/sep/15/fancy-bears-hackers--russia-wada-tues-leaks

Sergei Nikitin:
"We don't have this in the case of the DNC and Wada hacks, so it's not clear on what basis conclusions are being drawn that Russian hackers or special services were involved. It's done on the basis of the website design, which is absurd," he said, referring to the depiction of symbolically Russian animals, brown and white bears, on the "Fancy Bears' Hack Team" website.

I don't agree with the DNC part, but this is not the topic of conversation here.

Alexander Baranov:
"the hackers were most likely amateurs who published a "semi-finished product" rather than truly compromising information. "They could have done this more harshly and suddenly," he said. "If it was [state-sponsored] hackers, they would have dug deeper. Since it's enthusiasts, amateurs, they got what they got and went public with it.""

The @anpoland side-track

First please check the tas-cas.org hack https://www.youtube.com/watch?v=day5Aq0bHsA  , I will be here when you finished it. This is a website for "Court of Arbitration for Sport's", and referring to the Threatconnect post, "CAS is the highest international tribunal that was established to settle disputes related to sport through arbitration. Starting in 2016, an anti-doping division of CAS began judging doping cases at the Olympic Games, replacing the IOC disciplinary commission." Now you can see why this attack is also discussed here.


  • My bet is that this machine was set-up for these @anpoland videos only. Whether google.ru is a false flag or it is real, hard to decide. It is interesting to see that there is no google search done via google.ru, it is used only once. 
  • The creator of the video can't double click. Is it because he has a malfunctioning mouse? Is it because he uses a virtualization console, which is near-perfect OPSEC to hide your real identity? My personal experience is that using virtualization consoles remotely (e.g. RDP) has very similar effects to what we can see on the video. 
  • The timeline of the Twitter account is quite strange, registered in 2010
  • I agree with the Threatconnect analysis that this @anpoland account is probably a faketivist, and not an activist. But who is behind it, remains a mystery. 
  • Either the "activist" is using a whonix-like setup for remaining anonymous, or a TOR router (something like this), or does not care about privacy at all. Looking at the response times (SQLmap, web browser), I doubt this "activist" is behind anything related to TOR. Which makes no sense for an activist, who publishes his hack on Youtube. People are stupid for sure, but this does not add up. It makes sense that this was a server (paid by bitcoins or stolen credit cards or whatever) rather than a home computer.
For me, this whole @anpoland thing makes no sense, and I think it is just loosely connected to the WADA hack. 

The mysterious Korean characters in the HTML source

There is another interesting flag in the whole story, which actually makes no sense. When the website was published, there were Korean characters in HTML comments. 



When someone pointed this out on Twitter, these Korean HTML comments disappeared:
These HTML comments look like generated HTML comments, from a WYSIWYG editor, which is using the Korean language. Let me know if you can identify the editor.

The Russians are denying it

Well, what choice they have? It does not matter if they did this or not, they will deny it. And they can't deny this differently. Just imagine a spokesperson: "Previously we have falsely denied the DCC and DNC hacks, but this time please believe us, this wasn't Russia." Sounds plausible ...

Attribution

Let me sum up what we know:

It makes sense that the WADA hack was done by Russia, because:

  1. Russia being almost banned from the Olympics due to doping scandal, it made sense to discredit WADA and US Olympians
  2. There are multiple(weak) pieces of evidence which point to Russia
It makes sense that the WADA hack was not done by  Russia, because: 
  1. By instantly attributing the hack to the Russians, the story was more about to discredit Russia than discrediting WADA or US Olympians.
  2. In reality, there was no gain for Russia for disclosing the documents. Nothing happened, nothing changed, no discredit for WADA. Not a single case turned out to be illegal or unethical.
  3. Altering the leaked documents makes no sense if it was Russia (see update at the end). Altering the leaked documents makes a lot of sense if it was not Russia. Because from now on, people can always state "these leaks cannot be trusted, so it is not true what is written there". It is quite cozy for any US organization, who has been hacked or will be hacked. If you are interested in the "Russians forging leaked documents" debate, I highly recommend to start with this The Intercept article
  4. If the Korean characters were false flags planted by the Russians, why would they remove it? If it had been Russian characters, I would understand removing it.
  5. All evidence against Russia is weak, can be easily forged by even any script kittie.

I don't like guessing, but here is my guess. This WADA hack was an operation of a (non-professional) hackers-for-hire service, paid by an enemy of Russia. The goal was to hack WADA, leak the documents, modify some contents in the documents, and blame it all on the Russians ...

Questions and answers

  • Was Russia capable of doing this WADA hack? Yes.
  • Was Russia hacking WADA? Maybe yes, maybe not.
  • Was this leak done by a Russian state-sponsored hacker group? I highly doubt that.
  • Is it possible to buy an attribution-dice where all six-side is Russia? No, it is sold-out. 

To quote Patrick Gray: "Russia is the new China, and the Russians ate my homework."©

Let me know what you think about this, and please comment. 

More articles


  1. Pentest Reporting Tools
  2. Hacker Tools Online
  3. Hacking Tools Usb
  4. Bluetooth Hacking Tools Kali
  5. Hacks And Tools
  6. Hack Tools Mac
  7. Hack Tools For Ubuntu
  8. Pentest Reporting Tools
  9. Nsa Hack Tools
  10. Hacking Tools 2020
  11. Hacking Tools Software
  12. Hack Tools 2019
  13. Hacking Tools For Windows 7
  14. Hacker Tools For Pc
  15. Hack Tools For Ubuntu
  16. Tools For Hacker
  17. Hacking Tools 2020
  18. Hacking Tools For Beginners
  19. Hacker Security Tools
  20. How To Make Hacking Tools
  21. Best Pentesting Tools 2018
  22. Hack Tools
  23. Tools 4 Hack
  24. Pentest Tools Github
  25. Pentest Tools For Windows
  26. Hack Tool Apk No Root
  27. How To Make Hacking Tools
  28. Game Hacking
  29. Hacking Tools Free Download
  30. Pentest Tools Url Fuzzer
  31. Hacking Tools Windows
  32. Pentest Tools Website
  33. Best Hacking Tools 2020
  34. New Hack Tools
  35. Pentest Tools Kali Linux
  36. Hacking Tools For Windows
  37. Pentest Tools Website
  38. Hack Tools
  39. Hacker Tools 2019
  40. Hacker Tools Apk
  41. Pentest Tools For Windows
  42. Beginner Hacker Tools
  43. Free Pentest Tools For Windows
  44. Hack Tool Apk No Root
  45. Pentest Tools Tcp Port Scanner
  46. Hacking Tools Name
  47. Pentest Automation Tools
  48. Pentest Tools Find Subdomains
  49. Hacking Tools Windows
  50. Ethical Hacker Tools
  51. Hacker
  52. Hacking Tools For Pc
  53. Hacker Tools 2019
  54. Pentest Tools List
  55. Tools 4 Hack
  56. Hacker Tools Software
  57. Nsa Hacker Tools
  58. Nsa Hacker Tools
  59. Best Hacking Tools 2019
  60. Hackers Toolbox
  61. Free Pentest Tools For Windows
  62. Usb Pentest Tools
  63. Hack Tools 2019
  64. Hack And Tools
  65. Hacking Apps
  66. Hack App
  67. Computer Hacker
  68. Hack Rom Tools
  69. Hacker Search Tools
  70. Pentest Tools Website Vulnerability
  71. Hacker Tools Software
  72. Hacking Tools Windows 10
  73. Pentest Tools Find Subdomains
  74. Hacker Tools For Ios
  75. Pentest Tools Bluekeep
  76. New Hack Tools
  77. Hacker Tools For Mac
  78. Kik Hack Tools
  79. Nsa Hack Tools Download
  80. Growth Hacker Tools
  81. What Are Hacking Tools
  82. Hacking Tools For Mac
  83. Pentest Tools Website
  84. Hacking Tools For Kali Linux
  85. Hacker Hardware Tools
  86. Hacking Tools Hardware
  87. Bluetooth Hacking Tools Kali
  88. Hacker Tools Online
  89. Hack Tools For Windows
  90. Hack Tools For Pc
  91. Best Pentesting Tools 2018
  92. Hacker Tool Kit
  93. Hacker Tools Apk