Category: blog

Browse e-smartsolution’s blog


Aircrack-ng, penetration test

Aircrack-ng, penetration test
Aircrack-ng is an 802.11 WEP and WPA-PSK keys cracking program that can recover keys once enough data packets have been captured. It implements the standard FMS attack along with some optimizations like KoreK attacks, as well as the all-new PTW attack, thus making the attack much faster compared to other WEP cracking tools.


 aircrack-ng --help

  Aircrack-ng 1.6  - (C) 2006-2020 Thomas d'Otreppe

  usage: aircrack-ng [options] 

  Common options:

      -a  : force attack mode (1/WEP, 2/WPA-PSK)
      -e  : target selection: network identifier
      -b  : target selection: access point's MAC
      -p  : # of CPU to use  (default: all CPUs)
      -q         : enable quiet mode (no status output)
      -C   : merge the given APs to a virtual one
      -l   : write key to file. Overwrites file.

  Static WEP cracking options:

      -c         : search alpha-numeric characters only
      -t         : search binary coded decimal chr only
      -h         : search the numeric key for Fritz!BOX
      -d   : use masking of the key (A1:XX:CF:YY)
      -m  : MAC address to filter usable packets
      -n  : WEP key length :  64/128/152/256/512
      -i  : WEP key index (1 to 4), default: any
      -f  : bruteforce fudge factor,  default: 2
      -k  : disable one attack method  (1 to 17)
      -x or -x0  : disable bruteforce for last keybytes
      -x1        : last keybyte bruteforcing  (default)
      -x2        : enable last  2 keybytes bruteforcing
      -X         : disable  bruteforce   multithreading
      -y         : experimental  single bruteforce mode
      -K         : use only old KoreK attacks (pre-PTW)
      -s         : show the key in ASCII while cracking
      -M    : specify maximum number of IVs to use
      -D         : WEP decloak, skips broken keystreams
      -P    : PTW debug:  1: disable Klein, 2: PTW
      -1         : run only 1 try to crack key with PTW
      -V         : run in visual inspection mode

  WEP and WPA-PSK cracking options:

      -w  : path to wordlist(s) filename(s)
      -N   : path to new session filename
      -R   : path to existing session filename

  WPA-PSK options:

      -E   : create EWSA Project file v3
      -I    : PMKID string (hashcat -m 16800)
      -j   : create Hashcat v3.6+ file (HCCAPX)
      -J   : create Hashcat file (HCCAP)
      -S         : WPA cracking speed test
      -Z    : WPA cracking speed test length of
      -r     : path to airolib-ng database
                   (Cannot be used with -w)

  SIMD selection:

      --simd-list       : Show a list of the available
                          SIMD architectures, for this
      --simd=   : Use specific SIMD architecture.

 may be one of the following, depending on
      your platform:


  Other options:

      -u         : Displays # of CPUs & SIMD support
      --help     : Displays this usage screen

Common mistake/error message when trying to access MS SharePoint, AADSTS50085

Common mistake/error message when trying to access, this is code AADSTS50085 from Microsoft documentation, but make essier for everybodoy
You can not logged or have more than ONE SharePoint’site in the site browser.

AADSTS50085 Refresh token needs social IDP login. Have user try signing-in again with username -password

Solution of the AADSTS50085:

Solution A: Sign out the first out and sign again with different

Solution B: Using an incognito mode or private mode.

Solution C: Using different browser.

How to Disable Welcome message to group Office 365 online

How to Disable Welcome message to group Office 365 online(Azure Directory)?
Solution 1:
Using PowerShell
Step 1 Open PowerSheel and connect to ExchangeOnline

PS C:\Users\UKgoodByeSales> Connect-ExchangeOnline

Step 2 Change the value of this UnifiedGroupWelcomeMessageEnable to “false”

PS C:\Users\UKgoodByeSales> Set-UnifiedGroup -Identity "" -UnifiedGroupWelcomeMessageEnable:$false

Use the command Get-UnifiedGroup view the variable of the Sharepoint group or Azure D group:

C:\Users\MoussaSow> Get-UnifiedGroup -Identity "" | Format-List

Solution Microsoft Power apps and power automate error appres://blobmanager

Solution for Microsoft Power apps and power automate error appres://blobmanager, that will upload corruputed file to Sharepoint:

Unable to process template language expressions in action 'Create_file' inputs at line '1' and column '12861': 'The template language function 'dataUriToBinary' expects its parameter to be formatted as a valid data URI. The provided value 'appres://blobmanager/10c34f7263814cd2a8f8750449b64a29/1' was not formatted correctly. Please see for usage details.'

1- IT require to use Json on Power apps form on the OnSelect function to transform to binary code file to upload to Sharepoint by Power automate:
Change this by:

This using json:
PowerAppsUploadDocuments.Run(AddMediaButton1.FileName,Substitute(JSON(UploadedImage1.Image, JSONFormat.IncludeBinaryData),””””, “”));

Microsoft Power Automate Concurrency Control

Concurrency Control
Limit number of concurrent runs of the flow, or leave it off to run as many as possible at the same time. Concurrency control changes the way new runs are queued. It cannot be undone once enabled.
Concurrency Control

Microsoft Power automate, encodian Insert HTML to PDF, BadGateway 502 solution

Microsoft Power automate, encodian Insert HTML to PDF, BadGateway 502 solution
Error message and action Action ‘Insert_HTML_to_PDF’ failed
BadGateway html to pdf

  "error": {
    "code": 502,
    "source": "",
    "clientRequestId": "7dd5f762-ee40-4c41-8541-9df5b92281d4",
    "message": "BadGateway",
    "innerError": {
      "HttpStatusCode": 500,
      "HttpStatusMessage": "An error occurred processing the request",
      "OperationId": "3626fc0e-574b-4447-a4fb-bbeef023b27a\\1",
      "Errors": [],
      "Operation Status": "Error",
      "Filename": null,
      "FileContent": null

Solution 1: Rebsumit it
If the error code 500 or 502 appears, the failure is temporary or transient. Click or tap Resubmit to try the flow again.

Solution 2: Double-check the original PDF you are try to appaend is OK first.
You can not preview the file SharePoint by the browser the “Insert HTML to PDF” process will fail.
Hmm.. Looks like this file doesn’t have a preview we can show you.

In our case the uploading document by Power apps were not decoding the final document on SharePoint

Share an app with Microsoft 365 Groups

Share an app with Microsoft 365 Groups. Ppower apps how give implicit access to sharepoint group?
Ensure you have access to the Azure AD cmdlets.

Go to Azure portal > Azure Active Directory > Groups > Select the appropriate group > Copy the Object Id.

1 Connect to Azure AD using PowerShell:

C:\system>system32> Connect-AzureAD

2- Get-AzureADGroup -ObjectId 9d046f003-93b7-4691-9935-174139c990d3 | select *

3 If the group isn’t security enabled, you can enable it using PowerShell cmdlet Set-AzureADGroup by setting the SecurityEnabled property to True:

C:\system>system32>Set-AzureADGroup -ObjectId 9d046f003-93b7-4691-9935-174139c990d3 -SecurityEnabled $True

Assign a security group in Azure AD to a role
In the sharing panel, select Assign a security role under Data permissions.

Select the Dataverse role(s) that you want to apply to the selected Azure AD user(s) or group(s):

What CMOS Settings Wrong, CMOS date/Time Not Set?

The CMOS Settings Wrong, CMOS Date/Time Not Set are telling you the date on the device is not set.

What CMOS Settings Wrong, CMOS date/Time Not Set?
what is CMOS? CMOS is Complementary Metal–Oxide–Semiconductor or CMOS RAM, Non-Volatile RAM (NVRAM), Non-Volatile BIOS memory: Most CMOS batteries will last the lifetime of a motherboard, up to 10 years in most cases.

1- It’s possible if the device was a long time without power and the CMOS battery is drained out or either the CMOS battery is dead.

1- Solution A – if the CMOS battery is not dead you connect to power and set the date and time and let the device charge that battery. If after a long time you can remove the power cable and reconnect it. If you restart the device and do you still seeing the same message about “CMOS Settings Wrong”: Definitely the CMOS battery is dead!
2- Solution B – You will replace the CMOS battery; you search by brand and model and buy a new battery.

Zoom offers integrated live transcription

The live transcription is available at moment for “Licenced users”

To Enable it, go your account > Settings, and to section bellow and enable: “Closed captioning” and Enable live transcription service to show transcript on the side panel in-meeting

Closed captioning:
Allow host to type closed captions or assign a participant/third party device to add closed captions
Enable live transcription service to show transcript on the side panel in-meeting

Enable Close Captioning

Enabling the live transcription on the Zoom meeting:

Start the meeting
Click CC/Live Transcript button that appears on Zoom toolbar
Click Enable Auto-Transcription
Enabling the live transcription on the Zoom meeting


Microsoft form with upload file, Who can fill in this form?

Microsoft form with upload file, Who can fill in this form?

The option; Anyone can respond -is disabled when the form has an upload file:
File upload is only available when “Only people in my organisation can respond” is the selected setting

When you add a file upload to a form, the form cannot be shared with anyone link and is restricted to other people within your organization.

Who can fill in this form?
The reason is that uploaded files for personal forms are stored in the form creator’s OneDrive for Business account, at date of 24/12/2020 only the users inside the Office 365(Active Directory) can access the form with the upload option.