An active Presenter is a free tool for screen recording and screencasting tool for Windows and OS X. This can be used to enabling you to produce software demonstrations, software simulations, quizzes, and presentations. Come with various export options: JPEG and PNG images, HTML slideshows, PDFs, Microsoft Word, Excel or… Continue Reading Best tool for tutorials: Active Presenter.
This tool named Netcut is a well known Windows program that can cut off a person’s connection when connected in the same network. The Netcut automatically runs at Windows startup through service and can be disabled from the program options. About the Netcat tool is a computer networking utility for… Continue Reading The Netcut – protect your network.
The whoami is used to display the domain and user name of the person who is currently logged on to this computer. If used without parameters, whoami displays the current domain and user name. You can use this command with the next parameters: /upn Displays the user name in the… Continue Reading Windows 10 – whoami command .
This is a simple command to get all your mac from your Windows system. We can run it to retrieve the mac addresses of a remote computer.
getmac /s remote_computer /u username /p password
Export a verbose listing of MAC addresses to a CSV file.
getmac /v /fo csv > mac_addresses.csv
See the help of this command:
GETMAC [/S system [/U username [/P [password]]]] [/FO format] [/NH] [/V]
This tool enables an administrator to display the MAC address
for network adapters on a system.
/S system Specifies the remote system to connect to.
/U [domain\]user Specifies the user context under
which the command should execute.
/P [password] Specifies the password for the given
user context. Prompts for input if omitted.
/FO format Specifies the format in which the output
is to be displayed.
Valid values: "TABLE", "LIST", "CSV".
/NH Specifies that the "Column Header" should
not be displayed in the output.
Valid only for TABLE and CSV formats.
/V Specifies that verbose output is displayed.
/? Displays this help message.
GETMAC /FO csv
GETMAC /S system /NH /V
GETMAC /S system /U user
GETMAC /S system /U domain\user /P password /FO list /V
GETMAC /S system /U domain\user /P password /FO table /NH
First, you need to take a look at this website. The CPUID returns processor identification and feature information in the EAX, EBX, ECX, and EDX registers. What the source code from my example do? First I start with the default assembly program. The next step is to start with resetting… Continue Reading Programming with FASM – test with CPUID.
The sc command helps us to retrieves and sets control information about services.
SC is a command line program used for communicating with the
Service Control Manager and services.
sc <server> [command] [service name] <option1> <option2>...
The option <server> has the form "\\ServerName"
Further help on commands can be obtained by typing: "sc [command]"
query-----------Queries the status for a service, or
enumerates the status for types of services.
queryex---------Queries the extended status for a service, or
enumerates the status for types of services.
start-----------Starts a service.
pause-----------Sends a PAUSE control request to a service.
interrogate-----Sends an INTERROGATE control request to a service.
continue--------Sends a CONTINUE control request to a service.
stop------------Sends a STOP request to a service.
config----------Changes the configuration of a service (persistent).
description-----Changes the description of a service.
failure---------Changes the actions taken by a service upon failure.
failureflag-----Changes the failure actions flag of a service.
sidtype---------Changes the service SID type of a service.
privs-----------Changes the required privileges of a service.
managedaccount--Changes the service to mark the service account
password as managed by LSA.
qc--------------Queries the configuration information for a service.
qdescription----Queries the description for a service.
qfailure--------Queries the actions taken by a service upon failure.
qfailureflag----Queries the failure actions flag of a service.
qsidtype--------Queries the service SID type of a service.
qprivs----------Queries the required privileges of a service.
qtriggerinfo----Queries the trigger parameters of a service.
qpreferrednode--Queries the preferred NUMA node of a service.
qmanagedaccount-Queries whether a services uses an account with a
password managed by LSA.
qprotection-----Queries the process protection level of a service.
quserservice----Queries for a local instance of a user service template.
delete----------Deletes a service (from the registry).
create----------Creates a service. (adds it to the registry).
control---------Sends a control to a service.
sdshow----------Displays a service's security descriptor.
sdset-----------Sets a service's security descriptor.
showsid---------Displays the service SID string corresponding to an arbitrary name.
triggerinfo-----Configures the trigger parameters of a service.
preferrednode---Sets the preferred NUMA node of a service.
GetDisplayName--Gets the DisplayName for a service.
GetKeyName------Gets the ServiceKeyName for a service.
EnumDepend------Enumerates Service Dependencies.
The following commands don't require a service name:
sc <server> <command> <option>
boot------------(ok | bad) Indicates whether the last boot should
be saved as the last-known-good boot configuration
Lock------------Locks the Service Database
QueryLock-------Queries the LockStatus for the SCManager Database
sc start MyService
QUERY and QUERYEX OPTIONS:
If the query command is followed by a service name, the status
for that service is returned. Further options do not apply in
this case. If the query command is followed by nothing or one of
the options listed below, the services are enumerated.
type= Type of services to enumerate (driver, service, userservice, all)
(default = service)
state= State of services to enumerate (inactive, all)
(default = active)
bufsize= The size (in bytes) of the enumeration buffer
(default = 4096)
ri= The resume index number at which to begin the enumeration
(default = 0)
group= Service group to enumerate
(default = all groups)
sc query - Enumerates status for active services & drivers
sc query eventlog - Displays status for the eventlog service
sc queryex eventlog - Displays extended status for the eventlog service
sc query type= driver - Enumerates only active drivers
sc query type= service - Enumerates only Win32 services
sc query state= all - Enumerates all services & drivers
sc query bufsize= 50 - Enumerates with a 50 byte buffer
sc query ri= 14 - Enumerates with resume index = 14
sc queryex group= "" - Enumerates active services not in a group
sc query type= interact - Enumerates all interactive services
sc query type= driver group= NDIS - Enumerates all NDIS drivers
Some options of this command:
sc config Configures service startup and login accounts
sc continue Resumes a paused service
Lists the services that cannot run unless the specified service is running
sc failure Specifies what action to take upon failure of the service
sc pause Pauses a service
sc qc Displays the configuration of a particular service
sc query Displays information about the specified service, driver, type of service, or type of driver
sc start Starts a service running
sc stop Sends a STOP request to a service (not all will respond)
Let’s test query with intelhaxm:
sc query intelhaxm
TYPE : 1 KERNEL_DRIVER
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
To create a list of all services used:
sc query type= service state= all > allservices.txt
You can use: start and stop to start and stop services. The start option comes… Continue Reading Windows 10 – the SC command.
Today I will show you more about C# and the subject of this tutorial is threads. First, you need to start a project into your folder. Let’s see my example:
C:\BackUP\Proiecte\CSharpNET>dotnet new console -o threads001
The template "Console Application" was created successfully.
C:\BackUP\Proiecte\CSharpNET>dotnet restore threads001
Restoring packages for C:\BackUP\Proiecte\CSharpNET\threads001\threads001.csproj...
Generating MSBuild file C:\BackUP\Proiecte\CSharpNET\threads001\obj\threads001.csproj.nuget.g.props.
Generating MSBuild file C:\BackUP\Proiecte\CSharpNET\threads001\obj\threads001.csproj.nuget.g.targets.
Restore completed in 10.55 sec for C:\BackUP\Proiecte\CSharpNET\threads001\threads001.csproj.
You can use notepad or any editor to edit the Program.cs:
About the thread issue then you need… Continue Reading C# – First steps with C# and .NET – part 002 .
First, you need to take a look at Microsoft DotNET – Core website. This website will be the start for any .NET and C# issue on any operating system Linux, Windows, Mac or Docker. I used for this tutorial Windows OS and for Fedora distro you can take a look… Continue Reading C# – First steps with C# and .NET – part 001 .