# Enumerate databases
sqlmap --dbms=mysql -u "$URL" --dbs
# Enumerate tables
sqlmap --dbms=mysql -u "$URL" -D "$DATABASE" --tables
# Dump table data
sqlmap --dbms=mysql -u "$URL" -D "$DATABASE" -T "$TABLE" --dump
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var deleteAllGroupMembers = (function () { | |
| var deleteAllGroupMembers = {}; | |
| // the facebook ids of the users that will not be removed. | |
| // IMPORTANT: add your own facebook id here so that the script will not remove yourself! | |
| var excludedFbIds = ['1234','11223344']; // make sure each id is a string! | |
| var usersToDeleteQueue = []; | |
| var scriptEnabled = false; | |
| var processing = false; | |
| deleteAllGroupMembers.start = function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1 – Don’t forget var keyword when assigning a variable’s value for the first time. | |
| Assignment to an undeclared variable automatically results in a global variable being created. Avoid global variables. | |
| 2 – use === instead of == | |
| The == (or !=) operator performs an automatic type conversion if needed. The === (or !==) operator will not perform any conversion. It compares the value and the type, which could be considered faster than ==. | |
| [10] === 10 // is false | |
| [10] == 10 // is true |
The -m option specifies the parent number. This is because a merge commit has more than one parent, and Git does not know automatically which parent was the mainline, and which parent was the branch you want to un-merge.
When you view a merge commit in the output of git log, you will see its parents listed on the line that begins with Merge:
commit 8f937c683929b08379097828c8a04350b9b8e183
Merge: 8989ee0 7c6b236
Author: Ben James <[email protected]>
Date: Wed Aug 17 22:49:41 2011 +0100
Merge branch 'gh-pages'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Nguyễn Lâm to Phong Vũ Hội | |
| 13 mins · | |
| CÁCH TĂNG TÔC WIN 10!!📢📢📢 | |
| ✔1. Cài win trên ổ SSD💾💾💾 khởi động nhanh như QuickSilver | |
| ✔2. Thiết lập chính sách cập nhật | |
| -Để thiết lập chính sách cập nhật Windows hãy chọn nhánh Computer Configuration > Administrative Templates > Windows Components > Windows Update. Tùy chọn ‘Auto Download/Notify to Install’ cho phép người dùng quyết định khi nào thì các bản cập nhật được áp dụng. | |
| ✔3. Dùng tài khoản quản trị ẩn | |
| -Từ menu Start gõ cmd rồi nhấn phải chuột vào dòng kết quả tìm thấy ‘Command Prompt’ và chọn ‘Run as Administrator’. Giao diện dòng lệnh hiện ra, từ dấu nhắc hãy gõ: net user administrator /active:yes rồi nhấn phím Enter. Theo mặc định, tài khoản quản trị này chưa có mật khẩu, do vậy bạn cần gán mật khẩu cho nó, bằng cách gõ vào dòng lệnh: net user administrator * để tạo mật khẩu tài khoản. | |
| Nếu về sau muốn ẩn nó thì tại dấu nhắc giao diện dòng lệnh bạn gõ: net user administrator /active:no rồi nhấn phím Enter. | |
| ✔4.Tự động dọn dẹp ổ cứng |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "theme": "Boxy Ocean.sublime-theme", | |
| "color_scheme": "Packages/Boxy Theme/schemes/Boxy Ocean.tmTheme", | |
| "color_scheme": "Packages/Boxy Theme/schemes/Boxy Ocean.tmTheme", | |
| "theme": "Boxy Ocean.sublime-theme", | |
| "theme_accent_purple": true, | |
| "theme_bar": true, | |
| "theme_find_panel_close_hidden": true, | |
| "theme_size_md": true, | |
| "theme_tab_line_size_lg": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <form action='newpost.php' method=post> | |
| Title: <input type=text name=title /> | |
| Body: <input type=text name=body /> | |
| <input type=submit /> | |
| </form> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| apt-get update | |
| apt install -y libzip-dev bison autoconf build-essential pkg-config git-core \ | |
| libltdl-dev libbz2-dev libxml2-dev libxslt1-dev libssl-dev libicu-dev \ | |
| libpspell-dev libenchant-dev libmcrypt-dev libpng-dev libjpeg8-dev \ | |
| libfreetype6-dev libmysqlclient-dev libreadline-dev libcurl4-openssl-dev | |
| cd $HOME | |
| wget https://github.com/php/php-src/archive/php-7.2.4.tar.gz | |
| tar --extract --gzip --file php-7.2.4.tar.gz |
