teleren/devto huggingface dataset:
KALI LINUX Testing Tools
Tags: pentest, kalilinux
Published: 2020-03-28 12:15:25

---
title: KALI LINUX Testing Tools
published: True
description: 
tags: PenTest, KaliLinux
---
#For Education Purpose Only

| Information Gathering Tools|
| ------------- |
| NMAP and ZenMAP|
| Stealth Scan|
| Searchsploit|
| DNS Tools|
| LBD Tools|
| Hping3|

| Vulnerability Analyses Tools|
| ------------- |
| Cisco Tools|
| Cisco Auditing Tool|
| Cisco Global Exploiter|
| BED|

| Wireless Attacks|
| ------------- |
| Fern Wifi Cracker|
| Kismet|
| GISKismet|
| Ghost Phisher|
| Wifite|

| Website Penetration Testing|
| ------------- |
| Vega Usage|
| ZapProxy|
| Database Tools Usage|
| CMS Scanning Tools|
| SSL Scanning Tools|
| w3af|

| Exploitation Tools|
| ------------- |
| Metaslpoit|
| Armitage|
| BeEF|
| Linux Exploit Suggester|

| Forensics Tools|
| ------------- |
| p0f|
| pdf-parser|
| Dumpzilla|
| DFF|

| Stressing Tools|
| ------------- |
| Slowhttptest|
| Inviteflood|
| laxflood|
| thc-ssl-dos|

| Sniffingg & Spoofing|
| ------------- |
| Burpsuite|
| mitmproxy|
| Wireshark|
| sslstrip|

| Password Cracking Tools|
| ------------- |
| Hydra|
| Johnny|
| john|
| Rainbowcrack|
| SQLdict|
| hash-identifier|

| Maintaining Access|
| ------------- |
| Powersploit|
| Sbd|
| Webshells|
| Weevely|
| http-tuunnel|
| dns2tcp|
| cryptcat|

| Maintaining Access|
| ------------- |
| OllyDbg|
| dex2jar|
| jd-gui||
| apktool|

| Reporting tools|
| ------------- |
| Dradis|
| Metagoofil|
Can you recommend interesting software engineering blogs you follow?
Tags: discuss, computerscience, software
Published: 2020-03-28 12:06:23


These are my interest:
- System design
- Application design/scaling
- Database design/scaling 
- Software Architecture 
- Data structures and Algorithm 
- Languages like Python, Javascript, PHP, Golang and Rust 
- Cloud computing, DataScience, etc 

It can either be written by individuals or companies. 
Something a beginner can understand. 
Thanks in advance
Update:
You can also add podcasts too 🤗
Simple Laravel Sitemap Generator
Tags: laravel, laravelseo, sitemap, laravelcrawler
Published: 2020-03-28 11:41:37

---
title: Simple Laravel Sitemap Generator
published: true
description: Simple crawler and sitemap generator for Laravel. No headless browser - just a crawler.
tags:
  - Laravel
  - Laravel SEO
  - Sitemap
  - Laravel Crawler
canonical_url: https://bringyourownideas.com/blog/simple-laravel-sitemap-generator/
---

[Laravel](https://laravel.com?ref=bringyourownideas.com) is a powerful framework we all value. Websites built on Laravel are often dynamic. To reflect this the sitemap.xml needs to be kept up to date regularly. While there are existing solutions to do this it's been a pain at scale - headless browsers are used to suit JavaScript-heavy websites. Websites without JavaScript frontend aren't in need of this and it's a resource-intense overkill. We have opted to use a simple crawler instead. It's based on [mvdbos/php-spider](https://github.com/mvdbos/php-spider).

Workings
--------

The crawler considers "noindex" as well as canonical URLs by default. The last modified date is based on the "article:modified_time" value, or alternatively, the current date. Priorities are guessed based on the depth of the page in the website.

The crawl and generation are triggered using a Laravel CLI command. This way, you can include it in your deployment steps and/or schedule regular execution.

Installation
------------

You can install the package using composer:

```bash
composer require bringyourownideas/laravel-sitemap
```

Further details can be found on the repository. With this step the required service provider is automatically installed. If you have opted out from auto discovery you will need to install the Laravel service provider manually:

```bash
php artisan vendor:publish --provider="BringYourOwnIdeas\LaravelSitemap\SitemapServiceProvider"
```

Usage
-----

To trigger the crawl and generate of the sitemap you need to run the following artisan command:

```bash
php artisan generate:sitemap
```

This will fetch the required resources, analyze the web-pages and write the sitemap.xml file into the "public"-directory. To regularly update it you can schedule the execution in your `app/Console/Kernel.php`-file.

More Details
------------

More information can be found on the GitHub repository for the project: <https://github.com/bringyourownideas/laravel-sitemap>.
[unedited/draft] Notes from Linux Command Line and Shell Scripting Bible ; The Book!
Published: 2020-03-28 11:10:09

Chapter 2:
Getting to the Shell:

- In past: Linux console terminal where shell commands are entered
- Command line environment and how to 'reach it' ?
- Terminal emulation packages ?

#Reaching the command line
- CLI =  Command Line Interface ; alowed text inputs/outputs only, plus some rudimentary graphics
- Dumb Terminal = dumb text input/output environment; EG. A monitor and keyboard connected to Unix system vaia coummunication cable in the past days
- console = physical terminal
- shell = command line interpreter 
- To enter shell commands, still need a text display to access the shell's CLI , problem now is getting to one? 'makes no sense!'
- "sometimes finding a way to get a CLI in a Linux distribution is not an easy task" page-23

#Console Terminals
- Take linux system out of graphical desktop mode and place it in text mode; the text mode called the Linux Console
- The Linux console emulates the old days of a hard-wired "console terminal" and is a direct interface to the linux system; 
- Linux creates something called Virtual Consoles when it starts
- A virtual console is a terminal session that runs in linux memory
-https://www.computernetworkingnotes.com/linux-tutorials/linux-virtual-console-and-terminal-explained.html

console: physical device that emulates a terminal
terminal: a text mode only for writing commands

#Graphical Terminals
- Alternative to using virtual console
- aka Terminal Emulation Package

### Graphical terminal emulators can be thought as CLI terminials "in the GUI"
### Virtual console terminals as CLI terminals "outside the GUI"


##Accessing CLI via a Linux Console Terminal
Ctrl+Alt+ function key F1 through F7
How well does it fail?
Tags: javascript, webdev, codenewbie
Published: 2020-03-28 11:08:10

---
title: How well does it fail?
published: true
description: How do popular sites look with JS disabled?
tags: #javascript #webdev #js #codenewbie
cover_image: https://images.unsplash.com/photo-1508935620299-047e0e35fbe3?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80
---
Photo by [chuttersnap](https://unsplash.com/@chuttersnap?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com)

> Now when we look at new things added to HMTL, new features, new browser APIs, what we tend to ask, of course, is: _how well does it work?_.
(...) That’s an excellent question to ask (...). But I don’t think it’s the most important question. I think it’s just as important to ask: **how well does it fail**? _[Jeremy Keith](https://adactio.com/articles/12839), on Evaluating Technology_


I just found out that my adBlocker also has an option for disabling all JS on a site: 
![adBlocker screenshot](https://dev-to-uploads.s3.amazonaws.com/i/snmm6bzqf0e9ullfz7cd.png)

And that made me think about what master [Keith](https://adactio.com/) said in one of his [talks](https://adactio.com/articles/12839). So I went ahead and checked out some popular sites to see how _well_ these would fail.

Some of the results might seem _obvious_, some not so much. I think it is a great exercise, to see these sites without JS enabled, because you get to see how great teams dealt with **_failing well_**. In some cases, a small design choice makes the page hold up, in others, a completely different site is served. I encourage you to try it out!

Let's see some examples:

YouTube
![YouTube without JS](https://dev-to-uploads.s3.amazonaws.com/i/p5d749ndr9l6k785wepq.png)
___

Twitter
![Twitter without JS](https://dev-to-uploads.s3.amazonaws.com/i/g2cwek3k58pko11opfhd.png)
___

Dev
![Dev.to without JS](https://dev-to-uploads.s3.amazonaws.com/i/o0h7pr3or3nxke4spqpx.png)
___

Google
![Google without JS](https://dev-to-uploads.s3.amazonaws.com/i/bcn3a2x7s65mqfknt8cj.png)
___

So let's play a **game**! Dive into the web, and look for interesting sites and see how they approach a JS-less world. I'd love it if you would post your findings as well!

_Disclaimer: this is just for fun. No need to indulge in **why js matters** discussions, it's not the point here._
Qué es un API Gateway y cómo le sacamos partido
Tags: apigee, krakend, tyk, kong
Published: 2020-03-28 11:00:48

{% spotify spotify:episode:5V4XZWqZQJvbddd31n56mf %}

En la actualidad las aplicaciones web buscan producir una respuesta web más ligera y dejando los trabajos de renderización a la parte de cliente mediante un framework JavaScript.

Por tanto, las aplicaciones web en su parte de backend suelen producir un API que es consumida por el framework JS como Angular, Vue, React o Svelte, entre otros.

Estamos acostumbrados a hablar de servicios REST o JSON-RPC, pero no todos conocen qué es un API Gateway y cómo le podemos sacar partido en nuestra aplicación.
Understanding increment / decrement PREFIX or POSTPREFIX operator
Published: 2020-03-28 10:37:07


Key: 
- [Operand](https://en.m.wikipedia.org/wiki/Operand)
- [Operator](https://en.m.wikipedia.org/wiki/Operator)


Increment or Decrement operator can appear in two forms,  the POSTPREFIX `x++ or x--` and PREFIX `++x or --x` and it can be quite confusing.  

Understanding how both works will enable you know how to apply them in your project. 

**POSTPREFIX** 

This returns the value of its operand **BEFORE** adding 1 to it - **Increment**


This returns the value of its operand **BEFORE** subtracting 1 from it - **Decrement**

```js

// increment 

let x = 2

const r1 = x++ = 2 //it returned the valued the value before adding 1, meanwhile x is 3 

const r2 = x++ + 2 = 5 
```
```js

// decrement

let x = 5

const r3 = x-- = 5 //it returned the value before subtracting 1, x= 4

const r4 = x-- + 2 = 6
```




**PREFIX**

This returns the value of its operand **AFTER** adding 1 to it - **Increment**

This returns the value of its operand **AFTER** subtracting 1 from it - **Decrement**

```js
let x = 5

const r5 = ++x = 6 //it returned the value after adding 1

const r6 = ++x + 2 = 9
```
```js
let x = 5

const r7 = --x = 4 //it returned  the value after subtracting 1

const r8 = --x + 2 = 5
```

Let's mix both and see how it works 


```js
let x = 1

const a = x++ + x++= 3 

const b = ++x + ++x = 9

const c = x++ + ++x = 12

const d = ++x + x++ = 16
```

try it out on your favorite code editor or you can view it on codepen  
https://codepen.io/ojudith/pen/MWwZQxB
Compile Podcast Ep 10: Staying fit at home
Tags: podcast, fitness, chat, developer
Published: 2020-03-28 10:35:40

This week my friend Yuekun and I talk more about fitness at home and how you can avoid "isolation gut"!

{% youtube dp6z2czd9iY %}

### Breakpoints

 - 01:00 Chill zone and catching up
 - 05:00 Topic intro: staying fit at home
 - 07:20 Why staying fit is so important, especially now
    - 08:25 A Strong immune system
    - 11:40 Nick's experience with momentum and inertia 
	- 16:17 Lack of activity leads to general health problems
 - 26:42 Yuekun's very own exercise routines
    - 29:41 Stretches
    - 37:20 How to get a good stretch?
    - 39:00 Slow steady cardio
    - 42:21 Basic and intermediate workouts
    - 45:00 Results with the routines for Yuekun's parents
 - 49:19 Nick and Yuekun share their current routines
 - 56:43 Wrapping up

### Links in this episode:
 
 - Great [video](https://www.youtube.com/watch?v=BtN-goy9VOY) that explains Coronavirus
 - [Home exercise routines](https://compilepodcast.s3.eu-west-2.amazonaws.com/Easy+At-Home+Exercises.pdf) designed by Yuekun himself
 - Yuekun's [Instagram](https://www.instagram.com/that_chinese_guy_)

### Reach out to us!

Subscribe and stay tuned! Also send in any comment or request for new topics and we will try our best to make them happen!

My Twitter: https://twitter.com/WujunaoNick

This Podcast is also on:
 - [Google Play Music](https://play.google.com/music/listen#/ps/Ifd5mlxhgc5cmlsytadsglqfd4y)
 - [iTunes](https://podcasts.apple.com/gb/podcast/the-compile-podcast/id1436437367)
 - [Spotify](https://open.spotify.com/show/2UH9hK7VlS7ytjYdM8Vd78)
sharing of forums posts from Stackoverflow in phpBB
Published: 2020-03-28 10:29:45



I would like to see a forum plugin [phpbb] that would allow the sharing of forums posts from Stackoverflow in phpBB.It gets rather annoying seeing that this is not possible in the past.

so the question is - is this possible - to share posts that appear on SO or in the forum in another place.

see such an option at stackoferflow:


Share a link to this question (includes your user id)

 

the question is: does the Stack Overflow API currently has a so called sharing function. If one want to migrate posts, hi had to do this in earlier times best bet is to do it by hand.

Eventually the API will include sharing functions. At the moment they have such a sharing function to DEV.to, to FaceBook and Twitter.

is there a timetable for the sharing option and some access on the SO-API.

plz stay healthy!

 

regards

​
The story of an Android Developer with 4GB RAM [unedited & explicit]
Published: 2020-03-28 10:16:07



Well that's me basically.

Though at present I develop on an upgraded machine with 8GB RAM, it hasn't been that long since I had the upgrade.

It's the story of that 4GB RAM that kept me moving really.

So until a year and a half back, I was running Android Studio on my Dell laptop that had only 4GB RAM, and needless to say, it was such a pain in the ass as Android Studio was/is known to be, and excuse my French, one big of a resource whore.
I remember during my early days of internship where I had to open Android Studio, Postman and also some few Firefox tabs all at the same time, which, as you can guess, made my machine go berserk to say the least. Me and my laptop still don't have good relationship because of those times. LOL.
But still, I did what I could. I had this little Samsung Tablet that I would use to open those Firefox tabs just to keep some resource free from the laptop. 4GB after all, isn't that much.
I developed in Windows back then.

On this quest to make Android Studio run faster, I tried many tricks like increasing the size of virtual memory it consumed (which is ironic), to disabling plugins et-cetera.

But Android Studio was never that merciful and well the updates were making things worse, and I starting looking for other alternatives. 
I read it somewhere that Android Studio ran better in Linux, and I tried that. It definitely was efficient, at least way better than in the Windows. But I had never liked Linux that much personally, but I didn't have any option. I started developing in Linux, and well, I have never looked back ever since. (Except for that one time where I needed to use Photoshop, but that's a whole different story)

Anyway, shortly as I was getting used-to using Linux, I also upgraded to 8GB RAM on the same laptop. Things have been going smooth ever since, except for one or few times when my laptop has to deal with a really big project, in which case it just starts showing attitude like I ran away with some debt.
Dude, I just gave you an extra 8GB RAM for a change!

But that thing aside, Linux is just beautiful, and over time I have grown to sort of like it a lot.

There is just SO MUCH TO LEARN in it, which just fascinates me totally!

Thanks to that 4GB RAM.

And Android Studio ofcourse - just keep being a resource whore that you are!
Create 20+ High-Quality backlinks for free
Published: 2020-03-28 10:14:39


Google, Yahoo, Bing, and all other popular search engines are used algorithms to give the best content results to their users. Keeping this in mind we all do SEO to rank our sites or contents, but the algorithms of the search engines changes frequently but building backlinks (quality backlink) is still one of the most important aspects of SEO & ranking factors. 

It can be expensive if you’re buying backlinks and buying links isn’t always good, since the website needs to be legit, but in the recent announcements, google warn bloggers/content owners who buy the backlinks that they won’t work anymore.

So today, I will show you the best free backlinks for SEO, on the sites having very high DA-PA, that I know off.

Source:- https://myinquisitor.in/create-20-high-quality-free-backlinks-for-your-site/
Repository Pattern
Tags: patterns, oop
Published: 2020-03-28 01:33:26

# How can I explain the Repository Pattern to myself

## What is it?
The core idea of the Repository Pattern is that it is a method of encapsulating data access and moving it away from your code. Allowing the rest of your code to talk to the database using the domain objects that are moved around through the rest of the application. 

A good repository will only implement the functions that are required by its consumers rather than adding functions that would be nice to have but may never be used. If you never need to update an item don't have a method for it. 

## What is it used for?
The Repository Pattern has several advantages: 
### Making code testable by encapsulating dependency on database
This allows the Repository to be mocked out in unit tests allowing the tests to run quickly without requiring complex database set up and tear downs. 

### Mapping from data storage to domain objects 
Abstracting away the database means that complex data structures that may be used in storing the data only need to exist next to the database while the rest of the code can use meaningful data structures that model the domain. 

This abstraction also allows for an required changes to how the data is stored to be limited to a single place. The example of picking a different database always seems convoluted but I have been required to add extra fields for indexing more than once. 

## How is it different to a Data Access Layer
The key difference between a Repository and a Data Access Layer or Tier is that the Repository implements interactions in domain language. These may at times cover multiple database operations. e.g. `repository.StoreUpdatedItemOrder([Items])` may update the order property on each of the persisted items. 

## What should I watch out for? 
The risk with a repository is that it can become bloated. Multiple consuming classes/functions can result in a large interface that is prone to changing or in an interface that is difficult to change for fear that the change will break one or more consumers. 

### Mitigations 
To mitigate the risks of the Repository Pattern;
* Keep the Repository need by adopting the YAGNI (You Aint Going to Need It) principle and only implementing the methods required for a consumer.

* Keep consumers safe from changes by adopting the Interface Segregation Principle and Dependency Inversion Principle. Have each consumer own their own interface to the Repository and have the Repository implement these interfaces. That way a change required for a single consumer does not need to ripple out to other consumers that do not require the change.
10 Signs of a good Ruby on Rails Developer
Published: 2020-03-28 09:27:15

Link: https://blog.joshsoftware.com/2018/04/20/10-signs-of-a-good-ruby-on-rails-developer/


I have been working as Ruby on Rails developer since last five years with Josh Software, I felt that I should write down my learnings about the best practices followed by the RoR developer. How I learned …? of course to learn something you need to commit the mistakes, thats how we learn right?

Let’s see, What all you should follow to be a ‘Good’ Ruby on Rails developer.
Quick setup Svelte 3 SPA: svelte3-app
Tags: svelte, javascript, webdev
Published: 2020-03-28 09:07:06

### Introduction

**[svelte3-app](https://www.npmjs.com/package/svelte3-app)** is an [npx](https://www.npmjs.com/package/npx) command for quick setup of your [svelte 3](https://svelte.dev/) project.

You don't have to install it locally, but be sure you have at least [npm@5.2.0](https://github.com/npm/npm/releases/tag/v5.2.0) version installed.

### Basic usage

```bash
npx svelte3-app
```

The command above will create a svelte project based on the [official template](https://github.com/sveltejs/template) configured with [Rollup](https://rollupjs.org/guide/en/) in the folder you run it within.

It offers some customization for your project. For example, you can decide whenever to use [Rollup](https://rollupjs.org/guide/en/) or [Webpack](https://webpack.js.org/) as your bundler or to create a project using [Sapper](https://sapper.svelte.dev/).

### Inputs
* **-n <project name>** -> the name of the project (if empty, the project will be created in the directory it called within, ex: **npx svelte3-app -n client**)
* **-s <true|false|0|1>** -> initialize the project with sapper framework (ex: **npx svelte3-app -s**, value is not required, but you can pass true right after)
* **-b <rollup|webpack>** -> bundler to use (rollup is default, ex: **npx svelte3-app -b webpack**)

### Examples

1) Create a svelte 3 project under **svelte-rollup** folder configured with rollup:
```bash
npx svelte3-app -n svelte-rollup
```

2) Create a svelte 3 project under **svelte-webpack** folder configured with webpack:
```bash
npx svelte3-app -n svelte-webpack -b webpack
```

3) Create a svelte 3 project under **sapper-rollup** folder configured with rollup and sapper:
```bash
npx svelte3-app -n sapper-rollup -s
```

4) Create a svelte 3 project under **sapper-webpack** folder configured with webpack and sapper:
```bash
npx svelte3-app -n sapper-webpack -b webpack -s
```
jQuery Ajax Dynamic Dependent Dropdown in Laravel 
Tags: jquery, ajax, dependentdropdown, laravel
Published: 2020-03-28 08:52:51

Hey Artisan

Today i am going to discuss about a brand new topic which is how to make simple dependent dropdown using jquery ajax in Laravel 7. In this tutorial you will learn laravel dynamic dependent dropdown using ajax. 

I will use a Category table to show you laravel jquery ajax categories and subcategories select dropdown. Many developer create subcategory table also to do it. But no need to create sub category.

https://www.codechief.org/article/jquery-ajax-dynamic-dependent-dropdown-in-laravel-7
How to use DotNetExpose DLL
Tags: dotnet, webscrap, webcrawler, csharp
Published: 2020-03-28 08:50:58

Use the package manager to install.

```bash
Install-Package DotNetExpose -Version 1.0.3
```

After install the package:
```C#
using Expose.Main;
```

Create an instance of ExposeHtmlDocument. The constructor needs an URL. This URL will be scraped.
```C#
const string URL = "https://www.google.com.br/"

ExposeHtmlDocument expose = new ExposeHtmlDocument(URL);
```
 
Return total of CSS files referenced in the html page
```C#
int countCSS = expose.CountCSSAsync();
```
Return total of JS files referenced in the html page
```C
int countJS = expose.CountJSAsync();
```
Return total of Html Elements
```C#
int countHtmlElements = CountHtmlElementsAsync();
```
Return total of META elements
```C#
int countMetaTags = expose.CountMetaAsync();
```
Return all the JS content
```C#
HashSet<string> hsJS = expose.GetJSContentAsync();
```
Return all the CSS content
```C#
HashSet<String> hsCSS =  expose.GetCSSContentAsync();
```
Return the total of onclick events in all elements in the html
```C#
int countOnclickEvents = expose.CountOnclickEventsAsync();
```
Return the total of Forms in html page
```C#
int countForms = expose.CountFormsAsync();
```
Return the Action and HttpMethod from Form
```C#
Dictionary<string,string> dicFormInfo = expose.FormsInfoAsync();
```
Return the size in Kb of the page
```C#
long? pageSize = expose.GetSizeOfPageAsync();
```
Return the JSON with the amount of info found
```C#
string report = expose.GetReportAsync();
```
Return True/False 
```C#
bool hasAjaxCall = expose.HasAjaxCallAsync();
```