β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦Just a important tip:
Many programming languages ββsupport string manipulation using regular expressions :
For example, a powerful regular expression engine is built in Perl. The concept of regular expressions was first popularized by tools in Unix (such as sed and grep). Regular expressions are usually abbreviated as "regex". The singular includes regexp and regex, and the plural includes regexps, regexes, and regexen.
π»π΄π 'π π π π°π π :
Front-end development, will inevitably encounter label needs to match the needs of simple needs, not just two angle brackets wrap a label name Well, the next meal operation, /<[\w]+>.*<\/[\w]+>/gand perfectly matched <div>xx</div>and so on, the demand for complete ...
Etc., first glance, it does currently can match a variety of labels, but it also can match similar <div>xx</p>content. This means that we need to keep the content in the two angle brackets the same.
Regular grouping back-reference grouping ()
The so-called grouping is to put the content to be matched in brackets (). The content in parentheses can be regarded as a whole sub-expression
/<([\w]+)>.*<\/([\w]+)>/g
Back reference \N
Regular expressions also provide a mechanism for referencing previous matching groups. Sometimes, we may find a submatch, which will reappear next.
Β»
var reg = /<([\w]+)>.*<\/\1>/
reg.test('<div>xx</div>') // true
reg.test('<div>xx</p>') // false
β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦Just a important tip:
Many programming languages ββsupport string manipulation using regular expressions :
For example, a powerful regular expression engine is built in Perl. The concept of regular expressions was first popularized by tools in Unix (such as sed and grep). Regular expressions are usually abbreviated as "regex". The singular includes regexp and regex, and the plural includes regexps, regexes, and regexen.
π»π΄π 'π π π π°π π :
Front-end development, will inevitably encounter label needs to match the needs of simple needs, not just two angle brackets wrap a label name Well, the next meal operation, /<[\w]+>.*<\/[\w]+>/gand perfectly matched <div>xx</div>and so on, the demand for complete ...
Etc., first glance, it does currently can match a variety of labels, but it also can match similar <div>xx</p>content. This means that we need to keep the content in the two angle brackets the same.
Regular grouping back-reference grouping ()
The so-called grouping is to put the content to be matched in brackets (). The content in parentheses can be regarded as a whole sub-expression
/<([\w]+)>.*<\/([\w]+)>/g
Back reference \N
Regular expressions also provide a mechanism for referencing previous matching groups. Sometimes, we may find a submatch, which will reappear next.
Β»
var reg = /<([\w]+)>.*<\/\1>/
reg.test('<div>xx</div>') // true
reg.test('<div>xx</p>') // false
β β β Uππ»βΊπ«Δπ¬πβ β β β
Forwarded from UNDERCODE NEWS
Forwarded from UNDERCODE NEWS
Forwarded from UNDERCODE NEWS
Forwarded from UNDERCODE NEWS
How do scammers kill victims of pigs: get followers, get credit, lead, "kill pigs"
#CyberAttacks
#CyberAttacks
β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦Manual Converting Video and Audio, using 'avconv'
#FastTips
# ffmpeg
#1 print supported codecs and formats
avconv -formats
avconv -codecs
#2 print the media file's information
avconv -i <media.file>
#3 converting videos
e.g. convert avi to mp4(x264):
avconv -i <media.file> -vcodec libx264 -acodec ac3 <output.file>
where 'vcodec' specifies the codec of video stream, 'acodec' specifies audio codec.
#4 convertion between video and image
avconv -i foo.avi -r 1 -s WxH -f image2 foo-%05d.png
-r 1 : 1 frame per sec.
WxH : e.g. 1920x1080
# resize a picture
avconv -i fox.jpg -s 64x64 fox_resized.jpg
ref: man avconv section << Video and Audio file format conversion >>
http://ffmpeg.org/ffmpeg.html#Video-and-Audio-file-format-conversion
avconv(1)
β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦Manual Converting Video and Audio, using 'avconv'
#FastTips
# ffmpeg
#1 print supported codecs and formats
avconv -formats
avconv -codecs
#2 print the media file's information
avconv -i <media.file>
#3 converting videos
e.g. convert avi to mp4(x264):
avconv -i <media.file> -vcodec libx264 -acodec ac3 <output.file>
where 'vcodec' specifies the codec of video stream, 'acodec' specifies audio codec.
#4 convertion between video and image
avconv -i foo.avi -r 1 -s WxH -f image2 foo-%05d.png
-r 1 : 1 frame per sec.
WxH : e.g. 1920x1080
# resize a picture
avconv -i fox.jpg -s 64x64 fox_resized.jpg
ref: man avconv section << Video and Audio file format conversion >>
http://ffmpeg.org/ffmpeg.html#Video-and-Audio-file-format-conversion
avconv(1)
β β β Uππ»βΊπ«Δπ¬πβ β β β
Forwarded from UNDERCODE NEWS
Forwarded from UNDERCODE NEWS
Forwarded from UNDERCODE NEWS
Forwarded from UNDERCODE NEWS
β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦HIGH RATED HACKING TOOLS :
>>XSSFreak(https://github.com/PR0PH3CY33/XSSFreak)
>>XSpear(https://github.com/hahwul/XSpear)
>>XSSCon(https://github.com/menkrep1337/XSSCon)
>>XanXSS(https://github.com/Ekultek/XanXSS)
>>Advanced XSS Detection Suite(https://github.com/UltimateHackers/XSStrike)
>>RVuln(https://github.com/iinc0gnit0/RVuln)
>>Whitespace(https://github.com/beardog108/snow10)
SocialMedia Bruteforce
>>Instagram Attack(https://github.com/chinoogawa/instaBrute)
>>AllinOne SocialMedia Attack(https://github.com/Matrix07ksa/Brute_Force)
>>Facebook Attack(https://github.com/Matrix07ksa/Brute_Force)
>>Application Checker(https://github.com/jakutatech/underhanded)
Android Hacking tools
>>Keydroid(https://github.com/F4dl0/keydroid)
>>MySMS(https://github.com/papusingh2sms/mysms)
>>Lockphish (Grab target LOCK PIN)(https://github.com/JasonJerry/lockphish)
>>DroidCam (Capture Image)(https://github.com/kinghacker0/WishFish)
>>EvilApp (Hijack Session)(https://github.com/crypticterminal/EvilApp)
>>HatCloud(Bypass CloudFlare for IP)(https://github.com/HatBashBR/HatCloud)
IDN Homograph Attack
>>EvilURL(https://github.com/UndeadSec/EvilURL)
Email Verify tools
β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦HIGH RATED HACKING TOOLS :
>>XSSFreak(https://github.com/PR0PH3CY33/XSSFreak)
>>XSpear(https://github.com/hahwul/XSpear)
>>XSSCon(https://github.com/menkrep1337/XSSCon)
>>XanXSS(https://github.com/Ekultek/XanXSS)
>>Advanced XSS Detection Suite(https://github.com/UltimateHackers/XSStrike)
>>RVuln(https://github.com/iinc0gnit0/RVuln)
>>Whitespace(https://github.com/beardog108/snow10)
SocialMedia Bruteforce
>>Instagram Attack(https://github.com/chinoogawa/instaBrute)
>>AllinOne SocialMedia Attack(https://github.com/Matrix07ksa/Brute_Force)
>>Facebook Attack(https://github.com/Matrix07ksa/Brute_Force)
>>Application Checker(https://github.com/jakutatech/underhanded)
Android Hacking tools
>>Keydroid(https://github.com/F4dl0/keydroid)
>>MySMS(https://github.com/papusingh2sms/mysms)
>>Lockphish (Grab target LOCK PIN)(https://github.com/JasonJerry/lockphish)
>>DroidCam (Capture Image)(https://github.com/kinghacker0/WishFish)
>>EvilApp (Hijack Session)(https://github.com/crypticterminal/EvilApp)
>>HatCloud(Bypass CloudFlare for IP)(https://github.com/HatBashBR/HatCloud)
IDN Homograph Attack
>>EvilURL(https://github.com/UndeadSec/EvilURL)
Email Verify tools
β β β Uππ»βΊπ«Δπ¬πβ β β β
GitHub
GitHub - hahwul/XSpear: π± Powerfull XSS Scanning and Parameter analysis tool&gem
π± Powerfull XSS Scanning and Parameter analysis tool&gem - hahwul/XSpear
Forwarded from UNDERCODE NEWS
It's full of windows! Samsung needs to create a cell phone!
#Technologies
#Technologies
Forwarded from UNDERCODE NEWS
β β β Uππ»βΊπ«Δπ¬πβ β β β
Hack anything, special tutorials collection from git:
1- 3 Ways Extract Password Hashes from NTDS.dit:
https://www.hackingarticles.in/3-ways-extract-password-hashes-from-ntds-dit
-2- 3 ways to Capture HTTP Password in Network PC:
https://www.hackingarticles.in/3-ways-to-capture-http-password-in-network-pc/
-3- 3 Ways to Crack Wifi using Pyrit,oclHashcat and Cowpatty:
www.hackingarticles.in/3-ways-crack-wifi-using-pyrit-oclhashcat-cowpatty/
-4-BugBounty @ Linkedln-How I was able to bypass Open Redirection Protection:
https://medium.com/p/2e143eb36941
-5-BugBounty β βLet me reset your password and login into your account β-How I was able to Compromise any User Account via Reset Password Functionality:
https://medium.com/p/a11bb5f863b3/share/twitter
-6-βJourney from LFI to RCE!!!β-How I was able to get the same in one of the Indiaβs popular property buy/sell company:
https://medium.com/p/a69afe5a0899
-7-BugBounty β βI donβt need your current password to login into your accountβ - How could I completely takeover any userβs account in an online classi ed ads company:
https://medium.com/p/e51a945b083d
-8-BugBounty β βHow I was able to shop for free!β- Payment Price Manipulation:
https://medium.com/p/b29355a8e68e
-9-Recon β my way:
https://medium.com/p/82b7e5f62e21
-10-Reconnaissance: a eulogy in three acts:
https://medium.com/p/7840824b9ef2
-11-Red-Teaming-Toolkit:
https://github.com/infosecn1nja/Red-Teaming-Toolkit
-12-Red Team Tips:
https://vincentyiu.co.uk/
-13-Shellcode: A reverse shell for Linux in C with support for TLS/SSL:
https://modexp.wordpress.com/2019/04/24/glibc-shellcode/
-14-Shellcode: Encrypting traffic:
https://modexp.wordpress.com/2018/08/17/shellcode-encrypting-traffic/
-15-Penetration Testing of an FTP Server:
https://medium.com/p/19afe538be4b
-16-Reverse Engineering of the Anubis Malware β Part 1:
https://medium.com/p/741e12f5a6bd
-17-Privilege Escalation on Linux with Live examples:
https://resources.infosecinstitute.com/privilege-escalation-linux-live-examples/
β β β Uππ»βΊπ«Δπ¬πβ β β β
Hack anything, special tutorials collection from git:
1- 3 Ways Extract Password Hashes from NTDS.dit:
https://www.hackingarticles.in/3-ways-extract-password-hashes-from-ntds-dit
-2- 3 ways to Capture HTTP Password in Network PC:
https://www.hackingarticles.in/3-ways-to-capture-http-password-in-network-pc/
-3- 3 Ways to Crack Wifi using Pyrit,oclHashcat and Cowpatty:
www.hackingarticles.in/3-ways-crack-wifi-using-pyrit-oclhashcat-cowpatty/
-4-BugBounty @ Linkedln-How I was able to bypass Open Redirection Protection:
https://medium.com/p/2e143eb36941
-5-BugBounty β βLet me reset your password and login into your account β-How I was able to Compromise any User Account via Reset Password Functionality:
https://medium.com/p/a11bb5f863b3/share/twitter
-6-βJourney from LFI to RCE!!!β-How I was able to get the same in one of the Indiaβs popular property buy/sell company:
https://medium.com/p/a69afe5a0899
-7-BugBounty β βI donβt need your current password to login into your accountβ - How could I completely takeover any userβs account in an online classi ed ads company:
https://medium.com/p/e51a945b083d
-8-BugBounty β βHow I was able to shop for free!β- Payment Price Manipulation:
https://medium.com/p/b29355a8e68e
-9-Recon β my way:
https://medium.com/p/82b7e5f62e21
-10-Reconnaissance: a eulogy in three acts:
https://medium.com/p/7840824b9ef2
-11-Red-Teaming-Toolkit:
https://github.com/infosecn1nja/Red-Teaming-Toolkit
-12-Red Team Tips:
https://vincentyiu.co.uk/
-13-Shellcode: A reverse shell for Linux in C with support for TLS/SSL:
https://modexp.wordpress.com/2019/04/24/glibc-shellcode/
-14-Shellcode: Encrypting traffic:
https://modexp.wordpress.com/2018/08/17/shellcode-encrypting-traffic/
-15-Penetration Testing of an FTP Server:
https://medium.com/p/19afe538be4b
-16-Reverse Engineering of the Anubis Malware β Part 1:
https://medium.com/p/741e12f5a6bd
-17-Privilege Escalation on Linux with Live examples:
https://resources.infosecinstitute.com/privilege-escalation-linux-live-examples/
β β β Uππ»βΊπ«Δπ¬πβ β β β
Forwarded from UNDERCODE NEWS
Forwarded from UNDERCODE NEWS
4G investment has been frozen, but you can still rest assured that it still takes 3-4 years to grow 5G.
#International
#International
β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦ How to check the provider of installed RPM packages on Linux ??
1) List of RPM Package Vendor Information
To list all rpm's with vendor information, use the βquery format (βof) parameter.
# rpm -qa --queryformat '% {NAME} -% {VERSION} -% {RELEASE}.% {ARCH}% {VENDOR} \ n'
Output example:
# rpm -qa --queryformat '% {NAME} -% {VERSION} -% {RELEASE}.% {ARCH}% {VENDOR} \ n'
python3-pyparted-3.11.0-13.el8.x86_64 CentOS
python3-gobject-base-3.28.3-1.el8.x86_64 CentOS
libvirt-daemon-driver-secret-4.5.0-42.module_el8.2.0 + 320 + 13f867d7.x86_64 CentOS
gnome-screenshot-3.26.0-3.el8.x86_64 CentOS
fontpackages-filesystem-1.44-22.el8.noarch CentOS
libevdev-1.8.0-1.el8.x86_64 CentOS
cronie-1.5.2-4.el8.x86_64 CentOS
lua-json-1.3.2-9.el8.noarch CentOS
mesa-libglapi-19.3.4-2.el8.x86_64 CentOS
baobab-3.28.0-4.el8.x86_64 CentOS
xkeyboard-config-2.28-1.el8.noarch CentOS
...
2) List of third party or non-native packages
To list all packages that are not provided by CentOS, run the following command:
# rpm -qa --qf "% {NAME} -% {VERSION} -% {RELEASE} -% {ARCH}% {VENDOR} \ n" | awk '{if ($ 2! = "CentOS") print $ 0;}'
Sample output from a CentOS 8 server:
# rpm -qa --qf "% {NAME} -% {VERSION} -% {RELEASE} -% {ARCH}% {VENDOR} \ n" | awk '{if ($ 2! = "CentOS") print $ 0;}'
gpg-pubkey-8483c65d-5ccc5b19- (none) (none)
amazon-ssm-agent-2.3.1644.0-1-x86_64 Amazon.com
gpg-pubkey-6963f07f-57fad2ec- (none) (none)
More information
If you would like to know more about a specific rpm package!
3) request installed rpm
# rpm -qi [rpm_name]
β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦ How to check the provider of installed RPM packages on Linux ??
1) List of RPM Package Vendor Information
To list all rpm's with vendor information, use the βquery format (βof) parameter.
# rpm -qa --queryformat '% {NAME} -% {VERSION} -% {RELEASE}.% {ARCH}% {VENDOR} \ n'
Output example:
# rpm -qa --queryformat '% {NAME} -% {VERSION} -% {RELEASE}.% {ARCH}% {VENDOR} \ n'
python3-pyparted-3.11.0-13.el8.x86_64 CentOS
python3-gobject-base-3.28.3-1.el8.x86_64 CentOS
libvirt-daemon-driver-secret-4.5.0-42.module_el8.2.0 + 320 + 13f867d7.x86_64 CentOS
gnome-screenshot-3.26.0-3.el8.x86_64 CentOS
fontpackages-filesystem-1.44-22.el8.noarch CentOS
libevdev-1.8.0-1.el8.x86_64 CentOS
cronie-1.5.2-4.el8.x86_64 CentOS
lua-json-1.3.2-9.el8.noarch CentOS
mesa-libglapi-19.3.4-2.el8.x86_64 CentOS
baobab-3.28.0-4.el8.x86_64 CentOS
xkeyboard-config-2.28-1.el8.noarch CentOS
...
2) List of third party or non-native packages
To list all packages that are not provided by CentOS, run the following command:
# rpm -qa --qf "% {NAME} -% {VERSION} -% {RELEASE} -% {ARCH}% {VENDOR} \ n" | awk '{if ($ 2! = "CentOS") print $ 0;}'
Sample output from a CentOS 8 server:
# rpm -qa --qf "% {NAME} -% {VERSION} -% {RELEASE} -% {ARCH}% {VENDOR} \ n" | awk '{if ($ 2! = "CentOS") print $ 0;}'
gpg-pubkey-8483c65d-5ccc5b19- (none) (none)
amazon-ssm-agent-2.3.1644.0-1-x86_64 Amazon.com
gpg-pubkey-6963f07f-57fad2ec- (none) (none)
More information
If you would like to know more about a specific rpm package!
3) request installed rpm
# rpm -qi [rpm_name]
β β β Uππ»βΊπ«Δπ¬πβ β β β
Forwarded from UNDERCODE NEWS
Forwarded from UNDERCODE NEWS
Apple's independent domestic repair service company will repair the iPhone on-site!
#International
#International