IT Questions and Answers :)

Thursday, November 23, 2017

To send an email via an SMTP server using the TELNET program, what commands should you use in which order?

To send an email via an SMTP server using the TELNET program, what commands should you use in which order?

  • EHLO, DATA, MAIL FROM then RCPT TO
  • EHLO, MAIL FROM, RCPT TO then DATA
  • DATA, EHLO, RCPT TO, then MAIL FROM
  • EHLO, RCPT TO, MAIL FROM then DATA 

 
To send an email via an SMTP server using the TELNET program, what commands should you use in which order?

EXPLANATION

Using telnet to test a mail server is a staple part of being able to diagnose e-mail faults. You must follow a specific protocol order for commands, EHLO first (to introduce your connection and view the available features of the server), MAIL FROM next to specify the sender, RCPT TO thirdly to specify the recipient, and finally DATA, which is followed by the message headers and body.

SOURCE

https://www.port25.com/how-to-check-an-smtp-connection-with-a-manual-telnet-session-2/
Share:

What of the following names is a USB device that registers itself as a network adapter but is a covert systems administration and penetration testing tool?

What of the following names is a USB device that registers itself as a network adapter but is a covert systems administration and penetration testing tool?

  • BeamGun
  • LAN Turtle
  • NET Ninja
  • Rubber Ducky 

 
What of the following names is a USB device that registers itself as a network adapter but is a covert systems administration and penetration testing tool?

EXPLANATION

The LAN Turtle is a covert Systems Administration and Penetration Testing tool providing stealth remote access, network intelligence gathering, and man-in-the-middle monitoring capabilities.
Housed within a generic "USB Ethernet Adapter" case, the LAN Turtle’s covert appearance allows it to blend into many IT environments.
See: https://lanturtle.com/ for more information

Share:

In Perl, which variable contains the parameters passed to a subroutine?

In Perl, which variable contains the parameters passed to a subroutine?

  • $ARGV
  • $0 through $9
  • @_
  • @parameters 

 
In Perl, which variable contains the parameters passed to a subroutine?

EXPLANATION

The @_ array contains the parameters passed to any perl subroutine, method or function. You may reference the @_ array with either list assignment, e.g. "my ($param1, $param2) = @_;" or via referencing any of the array indicies, e.g. "my $param2 =  $_[1];".

SOURCE

https://stackoverflow.com/questions/4563485/what-is-the-meaning-of-in-perl
Share:

Which of these files will not fit in a 32GB flashdrive formatted as FAT32?

Which of these files will not fit in a 32GB flashdrive formatted as FAT32?

  • 10 .msi files with 1000MB each
  • All of them would fit just fine
  • 3 .tar.gz files with 5GB each
  • A .zip file with 1024MB 

 
Which of these files will not fit in a 32GB flashdrive formatted as FAT32?

EXPLANATION

Since your flash drive is formatted with the FAT32 file system, any file that is larger than 4GB will not be placed there. This type of a file system has a built-in limitation on the size of the files that it may contain. Although the total size of the files that you can copy to a FAT32 drive could be as large as 2TB (or the physical capacity of the drive, whichever is smaller), the size of each individual file may not exceed 4GB.

This limitation may sound silly: why would anyone design a system that would not allow for the larger files? The problem is, when the FAT32 file system was designed (that was back in the days of Windows 95), no one anticipated that we would have such large files in use today. Or, maybe the designers hoped that by the time such large files became common, the use of the FAT32 system would be replaced by more modern systems.

Share:

At a Windows command prompt that is set to the root of the drive, which of the following commands will search the entire drive for all occurrences of the "Testing.docx" file?

At a Windows command prompt that is set to the root of the drive, which of the following commands will search the entire drive for all occurrences of the "Testing.docx" file?

  • DIR Testing.docx
  • DIR /ALL Testing.docx
  • DIR /R Testing.docx
  • DIR /S Testing.docx 
 
At a Windows command prompt that is set to the root of the drive, which of the following commands will search the entire drive for all occurrences of the "Testing.docx" file?

EXPLANATION

The directory command allows many flags, including the recursive search flag "/S". This flag searches the current folder and all sub folders.
Share:

Popular Posts