Mrs. King - School Year 2010-2011
Friday, May 1, 2020
Runequest’s Glorantha LARP At SaltCon
Website Updates
Over the last few years I've been trying to increase the accessibility of my site. I have 25 years of web pages that I maintain so it was a lot of work to do all at once. I split it up into multiple phases:
- Phase one: I converted 85% of my pages to use a "responsive layout", which takes into account the reader's browser size. I converted pages that had a 600px width and were relatively easy to convert to a variable
px
based layout. My focus was to write responsive CSS rules that smoothly varied the layout and font size based on browser width. I wrote my notes on how to do this. - Phase two: I tackled the 15% of pages that were more difficult to convert, because of their use of non-standard layout, or interactive diagrams, or iframes, or anything else that made it difficult. I wrote a blog post about this. I still used a
px
based layout. - Phase three: I'm ready to switch from a
px
based layout to arem
based layout.
This is how I often make progress past "analysis paralysis": I break the problem down into smaller, simpler ones and then work on them one at a time.
Browsers default to 16px fonts typically. Most people don't change the default. But some do. Around 3%. My site had overridden the reader's preferred font size and then set the layout based on my font size.
I have the page layout link the font size and the paragraph width.
- For narrow browsers, below 550px, the paragraphs are the width of the browser, with a narrow margin. The font is 10px.
- For medium width browsers, the paragraphs gain some space, but the margins also gain some space. The font grows along with the paragraph.
- For wide browsers, above 1000px, the paragraphs are capped at 660px, and the rest goes to the margin. The font is capped at 20px.
I wanted to keep this variable font size but make it scale with the reader's preferred font size. Note that I'm not displaying at the browser font size, but instead scaling my variable font size (10px to 20px) based on the ratio of the browser font size to the default. If the reader has set the font size to be 20% larger than the default, then my font sizes will be 20% larger, so 10px becomes 12px and 20px becomes 24px. I made the layout match the font size change by changing the "breakpoint" sizes and the paragraph sizes to use rem
units instead.
Since the browser defaults to 16px
= 1rem
, the simplest thing to do is to divide all px
sizes by 16 to make them rem
units. For example, the paragraph size of 660px
becomes 660÷16 = 41.25rem
. However, that doesn't handle all the corner cases.
Sizes inside diagrams, including font sizes and line widths, were already scaled to the diagram's size. And I made the diagram's size responsive to the browser size in phase two. So that means sizes inside diagrams should stay as px
units.
Secondly, on some versions of Safari, @media
queries work better with em
sizes than with rem
sizes. So I used em
for those.
Third, I had picked sizes like 600px
because it was a nice round number. Converting it to 34.375rem
makes me wonder: does it really need to be 600px
, or could it have been 35rem
. This is similar to a problem with Metric vs English units. Why does Coca Cola have 12oz cans (355mL) but 2L bottles (67.6oz)? It's a "nice" number in one unit but not the other. I had previously used px
so I picked sizes that were nice in that unit, but now that I'm using rem
I may change the sizes slightly to be nice in that unit instead.
I first made this change on my main stylesheet that I share for all my pages, then went through hundreds of pages and made individual adjustments to them. Since my diagrams are generated in Javascript, I also had to adjust the code for some pages to work.
I tested this change by changing my browser's default font size and then browsing my pages. I think it works pretty well. If you see any layout issues, let me know!
Sunday, April 26, 2020
EasySploit: A Metasploit Automation Bash Scripts To Use Metasploit Framework Easier And Faster Than Ever
About EasySploit: EasySploit is Metasploit automation tool to use Metasploit Framework EASIER and FASTER than EVER.
EasySploit's options:
- Windows --> test.exe (payload and listener)
- Android --> test.apk (payload and listener)
- Linux --> test.py (payload and listener)
- MacOS --> test.jar (payload and listener)
- Web --> test.php (payload and listener)
- Scan if a target is vulnerable to ms17_010 (EnternalBlue)
- Exploit Windows 7/2008 x64 ONLY by IP (ms17_010_eternalblue)
- Exploit Windows Vista/XP/2000/2003 ONLY by IP (ms17_010_psexec)
- Exploit Windows with a link (HTA Server)
- Contact with me - My accounts
EasySploit's installation
You must install Metasploit Framework first.
For Arch Linux-based distros, enter this command:
sudo pacman -S metasploit
For other Linux distros, enter these command to install Metasploit Framework: And then, enter these commands to install EasySploit:
How to use EasySploit? (EasySploit video series tutorials)
Disclaimer about EasySploit:
You might like these similar tools:
- ISPY: Exploiting EternalBlue And BlueKeep Vulnerabilities With Metasploit Easier
- discover: A Custom Bash Scripts Used To Perform Pentesting Tasks With Metasploit
- Cloak: An Intelligent Python Backdoors Framework
- mkvenom: A simple Bash script to create msfvenom Payloads
- venom: Metasploit shellcode Generator/Compiler/Listener
- Metasploit AV Evasion: A Metasploit Payloads Generator can Bypass Anti-Virus
- Terminator: An Easy way to create Metasploit Payloads
- HackTheWorld: Generating Payloads to Bypass All Antivirus
- Andspoilt: Android Exploit Toolkit
- AutoSploit: An Automated Exploiting tool written in Python 2
- ezsploit: An Automated Linux bash script for Metasploit Framework
- TheFatRat: A Massive Backdoor creator and Exploiting tool
You can support KALI LINUX TRICKS from Patreon.
Related news
Deepin Or UbuntuDDE
1. Community
At least in the main telegram channel Deepin has more than 2.000 users, but UbuntuDDE is new in beta version and have about 500 users.
2. Boot
Despite de booting sound is the same in both distros, Deepin's animation is nicer than ubuntu's which uses a too bright background.
3. Default memory and CPU usage
The CPU usage is similar, but Deepin by default is using more processes, more network connections and more drivers than UbuntuDDE.
4. Workspaces
UbuntuDDE allows up to 7 workspaces meanwhile Deepin right now only allows 4.
Is not only more workspaces for UbuntuDDE, it's also the more eficient way to display them.
5. Software Versions
Deepin is based on Debian so the program versions on store and apt are old but stable, and can have problems with the old libraries installed on the system when compiling new software.
We can see below that Ubuntu's compiler version is quite new, the 9.3.0 which is quite well, but Deepin's version is 6.3.0.
Regarding the kernels, UbuntuDDE has the 5.4.0.21 and Deepin the 4.15.0-30, the libc in both systems is updated.
6. The store
Deepin's store is fast and polished and contain the main software, but and the UbuntuDDE
Conclussions
Deepin is the most used of both and it's the original one, but many users are trying the UbuntuDDE (which is beta for now) because the need of using recent versions, also the 4 workspaces on Deepin is another limitation for some Linux users. Probably Deepin v20 will overcome the limitations but the main decision is between Debian as base system or ubuntu, and for more users the trend in workstations is ubuntu.
Gallery
Read more
Top Process Related Commands In Linux Distributions
Commands in Linux are just the keys to explore and close the Linux. As you can do things manually by simple clicking over the programs just like windows to open an applications. But if you don't have any idea about commands of Linux and definitely you also don't know about the Linux terminal. You cannot explore Linux deeply. Because terminal is the brain of the Linux and you can do everything by using Linux terminal in any Linux distribution. So, if you wanna work over the Linux distro then you should know about the commands as well. In this blog you will exactly get the content about Linux processes commands which are are given below.
ps
The "ps" command is used in Linux to display your currently active processes over the Linux based system. It will give you all the detail of the processes which are active on the system.ps aux|grep
The "ps aux|grep" command is used in Linux distributions to find all the process id of particular process like if you wanna know about all the process ids related to telnet process then you just have to type a simple command like "ps aux|grep 'telnet'". This command will give you the details about telnet processes.pmap
The "pmap" command in Linux operating system will display the map of processes running over the memory in Linux based system.top
The "top" command is used in Linux operating system to display all the running processes over the system's background. It will display all the processes with process id (pid) by which you can easily kill/end the process.Kill pid
Basically the kill command is used to kill or end the process or processes by simply giving the process id to the kill command and it will end the process or processes. Just type kill and gave the particular process id or different process ids by putting the space in between all of them. kill 456 567 5673 etc.killall proc
The "killall proc" is the command used in Linux operating system to kill all the processes named proc in the system. Killall command just require a parameter as name which is common in some of the processes in the system.bg
The "bg" is the command used in Linux distributions to resume suspended jobs without bringing them to foreground.fg
The "fg" command is used in Linux operating system to brings the most recent job to foreground. The fg command also requires parameters to do some actions like "fg n" n is as a parameter to fg command that brings job n to the foreground.More articlesGanglia Monitoring System LFI
Awhile back when doing a pentest I ran into an interesting web application on a server that was acting as a gateway into a juicy environment *cough*pci*cough*, the application was "Ganglia Monitoring System" http://ganglia.sourceforge.net
steponequit@steponequit-desktop:/usr/share/ganglia-webfrontend$ egrep 'include.*\$' *class.TemplatePower.inc.php: if( isset( $this->tpl_include[ $regs[2] ]) )class.TemplatePower.inc.php: $tpl_file = $this->tpl_include[ $regs[2] ][0];class.TemplatePower.inc.php: $type = $this->tpl_include[ $regs[2] ][1];class.TemplatePower.inc.php: if( isset( $this->tpl_include[ $regs[2] ]) )class.TemplatePower.inc.php: $include_file = $this->tpl_include[ $regs[2] ][0];class.TemplatePower.inc.php: $type = $this->tpl_include[ $regs[2] ][1];class.TemplatePower.inc.php: $include_file = $regs[2];class.TemplatePower.inc.php: if( !@include_once( $include_file ) )class.TemplatePower.inc.php: $this->__errorAlert( 'TemplatePower Error: Couldn\'t include script [ '. $include_file .' ]!' );class.TemplatePower.inc.php: $this->tpl_include["$iblockname"] = Array( $value, $type );graph.php: include_once($graph_file);
$graph = isset($_GET["g"]) ? sanitize ( $_GET["g"] ) : NULL;
....
....
....
$graph_file = "$graphdir/$graph.php";
Taking at look at the "sanitize" function I can see this shouldn't upset any file include fun
function sanitize ( $string ) {return escapeshellcmd( clean_string( rawurldecode( $string ) ) ) ;}#-------------------------------------------------------------------------------# If arg is a valid number, return it. Otherwise, return null.function clean_number( $value ){return is_numeric( $value ) ? $value : null;}
$graph_file = "$graphdir/$graph.php";if ( is_readable($graph_file) ) {include_once($graph_file);$graph_function = "graph_${graph}";$graph_function($rrdtool_graph); // Pass by reference call, $rrdtool_graph modified inplace} else {/* Bad stuff happened. */error_log("Tried to load graph file [$graph_file], but failed. Invalid graph, aborting.");exit();}
$graph = isset($_GET["g"]) ? sanitize ( $_GET["g"] ) : "metric";.........$php_report_file = $conf['graphdir'] . "/" . $graph . ".php";$json_report_file = $conf['graphdir'] . "/" . $graph . ".json";if( is_file( $php_report_file ) ) {include_once $php_report_file;
BEST PASSWORD MANAGERS FOR IOS
BEST PASSWORD MANAGERS FOR IOS
1. ONESAFE PASSWORD MANAGER (CROSS-PLATFORM)
2. SPLASHID SAFE PASSWORD MANAGER (CROSS-PLATFORM)
3. LOGIN BOX PRO PASSWORD MANAGER
Continue reading
Blog Archive
-
►
2024
(52)
- ► 11/10 - 11/17 (1)
- ► 09/22 - 09/29 (1)
- ► 03/03 - 03/10 (1)
- ► 02/04 - 02/11 (2)
- ► 01/28 - 02/04 (9)
- ► 01/21 - 01/28 (27)
- ► 01/14 - 01/21 (11)
-
►
2023
(62)
- ► 12/31 - 01/07 (1)
- ► 12/03 - 12/10 (1)
- ► 09/24 - 10/01 (1)
- ► 08/13 - 08/20 (1)
- ► 08/06 - 08/13 (2)
- ► 07/30 - 08/06 (3)
- ► 07/23 - 07/30 (2)
- ► 07/09 - 07/16 (1)
- ► 06/11 - 06/18 (5)
- ► 06/04 - 06/11 (10)
- ► 05/28 - 06/04 (23)
- ► 05/21 - 05/28 (12)
-
►
2022
(1)
- ► 07/31 - 08/07 (1)
-
▼
2020
(357)
- ► 09/20 - 09/27 (2)
- ► 09/06 - 09/13 (2)
- ► 08/30 - 09/06 (5)
- ► 08/23 - 08/30 (19)
- ► 08/16 - 08/23 (26)
- ► 08/09 - 08/16 (23)
- ► 08/02 - 08/09 (23)
- ► 07/26 - 08/02 (23)
- ► 07/19 - 07/26 (23)
- ► 07/12 - 07/19 (23)
- ► 07/05 - 07/12 (23)
- ► 06/28 - 07/05 (15)
- ► 06/07 - 06/14 (15)
- ► 05/31 - 06/07 (12)
- ► 05/17 - 05/24 (22)
- ► 05/10 - 05/17 (16)
- ► 05/03 - 05/10 (7)
- ▼ 04/26 - 05/03 (7)
- ► 04/19 - 04/26 (19)
- ► 04/12 - 04/19 (26)
- ► 04/05 - 04/12 (2)
- ► 03/22 - 03/29 (4)
- ► 03/15 - 03/22 (6)
- ► 03/01 - 03/08 (5)
- ► 02/23 - 03/01 (2)
- ► 02/16 - 02/23 (6)
- ► 02/09 - 02/16 (1)
-
►
2019
(1072)
- ► 12/01 - 12/08 (12)
- ► 11/24 - 12/01 (38)
- ► 11/17 - 11/24 (24)
- ► 09/15 - 09/22 (54)
- ► 09/08 - 09/15 (82)
- ► 09/01 - 09/08 (52)
- ► 08/25 - 09/01 (56)
- ► 08/18 - 08/25 (68)
- ► 08/11 - 08/18 (66)
- ► 08/04 - 08/11 (62)
- ► 07/28 - 08/04 (61)
- ► 07/21 - 07/28 (64)
- ► 07/14 - 07/21 (71)
- ► 07/07 - 07/14 (65)
- ► 06/30 - 07/07 (60)
- ► 06/23 - 06/30 (37)
- ► 06/16 - 06/23 (26)
- ► 06/09 - 06/16 (52)
- ► 06/02 - 06/09 (48)
- ► 05/26 - 06/02 (50)
- ► 05/19 - 05/26 (9)
- ► 03/31 - 04/07 (3)
- ► 03/24 - 03/31 (11)
- ► 03/17 - 03/24 (1)
-
►
2018
(2)
- ► 06/24 - 07/01 (2)
-
►
2015
(1)
- ► 03/15 - 03/22 (1)
-
►
2012
(3)
- ► 03/11 - 03/18 (1)
- ► 01/29 - 02/05 (1)
- ► 01/08 - 01/15 (1)
-
►
2011
(38)
- ► 10/23 - 10/30 (1)
- ► 10/16 - 10/23 (1)
- ► 10/09 - 10/16 (1)
- ► 10/02 - 10/09 (4)
- ► 09/25 - 10/02 (2)
- ► 09/18 - 09/25 (2)
- ► 05/29 - 06/05 (1)
- ► 05/22 - 05/29 (1)
- ► 05/15 - 05/22 (2)
- ► 05/08 - 05/15 (2)
- ► 04/10 - 04/17 (2)
- ► 04/03 - 04/10 (1)
- ► 03/27 - 04/03 (1)
- ► 03/20 - 03/27 (3)
- ► 03/06 - 03/13 (2)
- ► 02/27 - 03/06 (3)
- ► 02/13 - 02/20 (1)
- ► 02/06 - 02/13 (1)
- ► 01/23 - 01/30 (1)
- ► 01/16 - 01/23 (1)
- ► 01/09 - 01/16 (3)
- ► 01/02 - 01/09 (2)
-
►
2010
(61)
- ► 12/05 - 12/12 (2)
- ► 11/28 - 12/05 (2)
- ► 11/14 - 11/21 (2)
- ► 11/07 - 11/14 (3)
- ► 10/31 - 11/07 (5)
- ► 10/24 - 10/31 (5)
- ► 10/17 - 10/24 (4)
- ► 05/16 - 05/23 (1)
- ► 05/02 - 05/09 (2)
- ► 04/18 - 04/25 (3)
- ► 04/11 - 04/18 (2)
- ► 03/21 - 03/28 (4)
- ► 03/14 - 03/21 (3)
- ► 03/07 - 03/14 (4)
- ► 02/28 - 03/07 (1)
- ► 02/21 - 02/28 (2)
- ► 02/07 - 02/14 (2)
- ► 01/31 - 02/07 (2)
- ► 01/24 - 01/31 (3)
- ► 01/17 - 01/24 (2)
- ► 01/10 - 01/17 (3)
- ► 01/03 - 01/10 (4)
-
►
2009
(3)
- ► 12/13 - 12/20 (3)