Discover and read the best of Twitter Threads about #null

Most recents (3)

#linux #bash #obfuscation using shell parameter expansion:

alphabet=abcdefghijklmnopqrstuvwxyz
${alphabet:2:1}at really
${alphabet: -24:-23}at really
${alphabet: -24:1}at really
${alphabet:2:-23}at really

gnu.org/software/bash/…
similar #bat #windows (ss64.com/nt/syntax-subs…)
The goal is to obfuscate the following command:
cat really
in which, really is a file.
Using arithmetic (add, sub, mul, div, mod, and pow) for calculating index or lenght
${alphabet: 2:(-20-3)}at really
Read 6 tweets
#linux #bash #obfuscation using octal vals
$'\143\141\164' really

gnu.org/software/bash/…
"Words of the form $'string' are treated specially. The word expands to string, with backslash-escaped characters replaced as specified by the ANSI C standard."

Variations
$'\143'$'\141'$'\164' really
$'\143'''$'\141'''''''''''''$'\164' really
$'\143'''$'\141'''""''''""''$'\164' really

Explanation:
'' -> empty string
""-> empty string
'a''b' -> 'ab' (concatenation)

(deleted the previous one, as the picture had a problem)
To give you a headache

t=
$'\143'''$'\141'$t''"$t"''`$t`''$'\164' really
Read 13 tweets
dissent thread to chew on

If each average pack of gum weighs 47.1 grams, holding 15 sticks, and 17% of its weight is due to packaging
Subtract the 17% of packaging weight from 47 grams = 8.00700 grams of packing weight.
Subtract 8.00700 grams of packaging weight from the total
47.1 grams = 39.09300 grams of total gum in (15 sticks)
Divide 39.09300 grams x 15 sticks = 2.6062 grams of gum per stick

If 1 Million people line a parade route and each person simultaneously begins chewing one stick of gum weighing 2.6062 grams on average...
The total amount of gum being chewed at one given time is 1,000,000 x 2.6062 grams = 2606200 grams of gum

2606200 grams of gum converted to pounds = 5745.687 pounds of gum

One stick of gum.
1 Million people.
5745.687 pounds of gum being chewed at once along a parade route.
Read 19 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!