You have been asked to investigate a web server for possible intrusion. You identify a script with the following code. What language is the code in and does it seem likely to be malicious? import os, sockets, syslog def r_conn(ip) s=socket.socket(socket.AF_INET,socket.SOCK_DGRAM) s.connect(("logging.trusted.foo",514))

Answers

Answer 1

The code below is written in JavaScript and does not seem malicious.

What is a Malicious Code?

A Malicious code is one that is not designed for any productive end but to cause disruptions in the computer with the objective of

harming the workstation; or destroying the data stored therein.

There are numerous classifications of malicious codes and they can be identified and removed by an application called an Anti-Virus or malicious app remover.

Learn more about JavaScript at:
https://brainly.com/question/16698901


Related Questions

CHALLENGE
ACTIVITY
1.6.1: Defining a class constructor.
Write a constructor with parameters self, num_mins and num_messages. num_mins and num_messages should have a default
value of 0.
Sample output with one plan created with input: 200 300, one plan created with no input, and one plan created with input: 500
My plan... Mins: 200 Messages: 300
Dad's plan... Mins: Messages: 0
Mom's plan... Mins: 500 Messages: 0

Python please

Answers

Coding:

class PhonePlan:

 

   def __init__(self, minutes=0, messages=0):

       self.num_mins=minutes

       self.num_messages=messages

   def print_plan(self):

       print('Mins:', self.num_mins, end=' ')

       print('Messages:', self.num_messages)

my_plan = PhonePlan(int(input()), int(input()))

dads_plan = PhonePlan()

moms_plan = PhonePlan(int(input()))

print('My plan...', end=' ')

my_plan.print_plan()

print('Dad\'s plan...', end=' ')

dads_plan.print_plan()

print('Mom\'s plan...', end= ' ')

moms_plan.print_plan()

Have a great day <3

How do I write this program?

def goingUp(n): # prints the stars from the row with 1 until a row with n

def goingDown(n): # prints the stars from the row with n to the row with 1

If the user enters a negative value, your program should print nothing.

If the user enters 0, your program should print nothing.

If the user enters 1, your program should print a single line with one star.

If the user enters any number greater than 1, your program should print according to the pattern shown above.

The prompt to the user must be Please enter a value

Answers

Answer:

Sorry but I don't know this

You have been asked to write a program for the Duckie's Obstacle Race. The program calculates the total number of racers, the fastest race time, the slowest race time, and the overall average race time.

Ask user to enter the maximum number of racers allowed for the race
Use repetition structure (loop) to ask the user to enter race times (in minutes)
Exit the loop if the user specifies there are no more times to enter (sentinel value) or if the maximum number of racers allowed has been reached
At a minimum, within the loop, you should keep track of how many race times are entered, the fastest race time and the slowest race time.
After the loop is exited, display how many race times were entered, the fastest race time, the slowest race time and the overall average race time.
Format your output appropriately
Be sure to include all appropriate documentation at the start of the program and within the program body

Answers

The program illustrates the use of loops and conditional statements

Conditional statements are used to make decisionsLoops are used for operations that must be repeated until a certain condition is met.

The race program

The program written in Python, where comments are used to explain each action is as follows:

#This initializes the variables to 0

totalRaceTime = 0; minRaceTime = 0; maxRaceTime = 0; countTimes = 0

#This gets input for the number of race times

numTimes = int(input("Number of times: "))

#This opens a sentinel controlled loop

while countTimes < numTimes:

   #This gets the race time

   raceTime = int(input("Race time: "))

   if countTimes == 0:

       minRaceTime = raceTime

       maxRaceTime = raceTime

   #This determines the highest race time

   if raceTime > maxRaceTime:

       maxRaceTime = raceTime

   #This determines the leest race time

   if raceTime < minRaceTime:

       minRaceTime = raceTime

   #This determines the total race time

   totalRaceTime+=raceTime

   countTimes+=1

#This prints the highest race time

print("Maximum: ",maxRaceTime)

#This prints the least race time

print("Minimum: ",minRaceTime)

#This prints the average race time

print("Average: ",round(totalRaceTime/numTimes,2))

Read more about while loops and conditional statements at:

https://brainly.com/question/24833629

Service provided by multiple servers acting in parallel is referred to as: a. Multiple-phase queuing system b. Multiple-channel queuing system c. Multi-delivery servicescape d. Multi-platform servicescape

Answers

Service provided by multiple servers acting in parallel is referred to as Multiple-channel queuing system.

What is Multiple-channel queuing system?

The multi channel queuing problems is known to be a system where each of the stations is known to often deliver the same type of service and they are said to be equipped with the same kind of tools.

Conclusively, A multi-channel, is said to be a single-phase business that is composed of different servers and also has a one-step servicing process.

Learn more about Multiple-channel from

https://brainly.com/question/17137414

please answer this question​

Answers

The salary calculator program is an illustration of a sequential program

What are sequential programs?

Sequential programs are programs that do not require loops, iterations or conditional statements

How to write the main program

The program written in Python, where comments are used to explain each action is as follows:

#This initializes the base number of hours

baseHours = 40

#This initializes the base payment

basePay = 600

#This initializes the overtime payment

overtimePay = 300

#This initializes the total hours worked

hoursWorked = 45

#This calculates the total payment

totalPay = baseHours * basePay + (hoursWorked - baseHours) * overtimePay

#This prints the total payment

print(totalPay)

Read more about sequential programs at:

https://brainly.com/question/26642771

A processor accesses main memory with an average access time of T2. A smaller cache memory is interposed between the processor and main memory. The cache has a significantly faster access time of T1

Answers

For any single memory access, the theoretical speedup to access a word stored in the cache rather than in main memory is given by:

[tex]Speedup=\frac{T_2}{T_1}[/tex]

Given the following data:

Access time = [tex]T_1 < T_2[/tex]

What is cache?

Cache can be defined as a random access memory (RAM) that is used by the central processing unit (CPU) of a computer system to minimize (reduce) the average time taken to access memory (AMAT).

For any single memory access, the theoretical speedup that would be used by the processor to access a word stored in the cache rather than in main memory is given by:

[tex]Speedup=\frac{T_2}{T_1}[/tex]

Where:

[tex]T_2[/tex] is the time to access in main memory.[tex]T_1[/tex] is the time to access in cache.

Read more on processor here: https://brainly.com/question/5430107

Why do Linux administrators prefer to give sudo access to application teams instead of letting them su to root?

Answers

Answer:

Explanation:

some distros like ubuntu do not even allow su to switch to root. furthermore the su to root is dangerous because the user becomes the all-powerful administrative account, so no warnings are issued if the application team user tries to do something system-breaking.

Question 2:
(5 marks)
According to the following code; you are required to draw the flowchart in details with
clear sequences
message=input("enter yes if there is message in the inbox");
attached=input("\n enter yes if there is attachment");
inbox=eval (input ("enter number of email"));
while inbox > 0:
if message=="yes":
print ("extract the message");
if attached=="yes":
print("extract the message");
email=input("eneter v for valied or not");
if email=="V":
print ("extract attached ");
print("inject Job ");
print("inject Submission");
en email=="N":
print("Inject an error");
print ("Remove the inbox mail ");
inbox-inbox-1;
DIO:
print("stop")

Answers

Flowcharts are visual representations of a code or program segments

How to draw the flowchart?

To draw the flowchart, we make use of the following symbols and figures

Oval: To begin and end the flowchartParallelogram: To accept input for the message, attached, inbox & email variables Parallelogram: To display all outputsRectangle: To perform the arithmetic operation; inbox = inbox - 1Diamond: To make several decisions and to initiate a loop process

See attachment for the flowchart that represents the code

Read more about flowcharts at:

https://brainly.com/question/24735155

Which statement best characterizes under what circumstances you should add your social media profile to a resume? You should add your profile even if it is not entirely professional. You should add your profile even if it is not entirely professional. You should add your profile, but it should be entertaining and help you stand out. You should add your profile, but it should be entertaining and help you stand out. You should not add your profile under any circumstances—it is unprofessional. You should not add your profile under any circumstances—it is unprofessional. You should add your profile, but it should be professional and positive.

Answers

Answer:

You should add your profile, but it should be professional and positive.

Explanation:

this is the most reasonable response... resumes are for careers and professions.. so you must be professional and positive (if it is for example linkedin)

How might the project team recommending an ERP design strategy justify its recommendation as compared with other types of design strategies?

Answers

The project team recommending an ERP design strategy by stating that in all, most of the attributes of a specific plan will bring about a good, quick and full return on that investment.

The project team can legitimize their ERP strategy by inputting the main preferred viewpoint to reengineering the proposed business procedure.

What is a ERP strategy?

The term  ERP strategy is a term that connotes the use of a technology strategy that often helps to integrates a combination of business functions.

The functions includes finance, HR and purchasing and linked  with operational areas, such as manufacturing  via a tight rope from operational business works to financial records.

Learn more about design strategy  from

https://brainly.com/question/5971614

When you run your Windows Form application, what is the lifespan of a global variable (also known as a "field" or "class" variable)?

Answers

The lifespan of a global variable (also known as a "field" or "class" variable) exist only until any additional classes are initialized.

What is Windows form application?

Windows Forms is defined as a form of UI backbone that is often uused for creating Windows desktop apps.

It is known to help its user in a lot of ways to produce or make  desktop apps using  the visual designer given in Visual Studio. It has a lot of Functionality such as drag-and-drop placement of visual controls and others.

See full question below

When you run your Windows Form application, what is the lifespanof a global variable (also known as a “field” or “class”variable)?

a. during the initial click button event

b. global variables only exist if they are constants

c. only until any additional classes are initialized

d.as long as the form is running

Learn more about Windows  from

https://brainly.com/question/26420125

when doing a complex presentation which of the fallowing will be the best tool to begin designing your presentation

Answers

Answer:

Explanation:

The options are:

a) Open Office Writer

b) Open Office Impress

c) an outline

d) photographs

The most commonly used presentation software is Microsoft PowerPoint but it is not always available; as is the case here. Of the options, Open Office Impress is the closest in its functions to PowerPoint and is a good tool to design a complex presentation.

As a high school student, what do you think is the advantage of someone who has knowledge about the basics of internet compared to those who have not yet experienced using it?

Answers

Answer:

For your future in your career, you will definitely have an upper hand and will be able to access and use more tools.  But the person that has never used a computer before does not know what exactly they are missing.  When they try to use a computer, they will struggle with simple task that now come naturally to you.

Explanation:

A timer is set after each frame is sent before waiting an ACK for that frame, how long does the timer take to be expired?

Answers

A timer needs to be set after each frame is sent before waiting an ACK for that frame. The length of time it takes for a  timer take to be expired depends on only when the first outstanding frames has expires first.

Some do take 5 min., 10 minutes, or even 48 hours while others depends on what the sender has set.

What is A timer is set after each frame about?

A sender is one that is not entitled  to hold a timer for each frame. It has to hold a single timer.

When a  the timer expires, the sender can then  resends all the frames whose ACK has not been seen or received yet. The sender often starts the timer at the time it is sending the first frame , and because of that, it is only when the timer for the first set frames expires before the sender can resend any other outstanding frames.

Learn more about timer from

https://brainly.com/question/25800303

When you are hired to develop a system for an organization. Is it important to follow all the requests/wants of the system owner rather than of the system user?

Answers

If you are hired to develop a system, note that Is it vital to follow all the requests or needs of the system's owner.

The company knows what they want and it is good you do comply with their directives. You can only give your suggestions if need be.

Who can develop an information system?

The information systems field is one that is made up of people in organizations that are skilled and can design and build information system.

Note that to be  hired to develop a system, one has to follow all the requests/wants of the system owner instead of the system user as the one who needs it knows what he or she wants so you have to comply with it. You can only give your suggestions.

Learn more about system from

https://brainly.com/question/13603602

do you think film is a great media in exposing information?​

Answers

not really everything don’t need to be on the internet

Answer:I think film is a great media in exposing information

Explanation:Films are great for exposing information for many reasons. Films are long, which increases the chance the watcher will remember, also it makes the watcher more involved and more interactive

Which item is used in Excel to identify the row of a particular cell?
letter
number
type
sheet

The answer is B) number

Answers

Answer:

B) number

Explanation:

you are correct! for instance the cell E3 has the column E and the row 3

s to write a Python-program that uses training data to choose the four ideal functions which are the
best fit out of the fifty provided (C) *.
i) Afterwards, the program must use the test data provided (B) to determine for each and every x-ypair of values whether or not they can be assigned to the four chosen ideal functions**; if so, the
program also needs to execute the mapping and save it together with the deviation at hand
ii) All data must be visualized logically
iii) Where possible, create/ compile suitable unit-test
* The criterion for choosing the ideal functions for the training function is how they minimize the sum of all ydeviations squared (Least-Square)
** The criterion for mapping the individual test case to the four ideal functions is that the existing maximum
deviation of the calculated regression does not exceed the largest deviation between training dataset (A) and
the ideal function (C) chosen for it by more than factor sqrt(2

Answers

Use the knowledge in computational language in python is possible write the data about a function and the summation.

How to define function in Python?

In Python, a function is a sequence of commands that performs some task and that has a name. Its main purpose is to help us organize programs into chunks that correspond to how we envision a solution to the problem.

So in an easier way we have that the code is:

def plus(a,b):

 return a + b  

class Summation(object):

 def sum(self, a, b):

   self.contents = a + b

   return self.contents

sumInstance = Summation()

sumInstance.sum(1,2)  

See more about python at brainly.com/question/18502436

5. How would you reorder the animation on a slide using the Animation
Pane?

Answers

Answer:

undo button

Explanation:

I hope this helps

Create a file using any word processing program or text editor. Write an application that displays the files name, containing folder, size, and time of last modification. Save the file as FileStatisits.java

Answers

Explanation:

TO MAKE FOLDER

-right click

-select 'new'

-and click on folder

Write the pseudocode for the following scenario. The final exam marks for 10 students are 65, 45, 78, 65, 89, 65, 79, 67, 75, and 63. The marks are stored in an array. Find: • The student with the highest mark. • The student with the lowest mark. • The total marks for all the students. • The overall average.

Answers

The pseudocode of the program serves as a prototype of the program

How to determine the pseudocode?

The pseudocode of the program is as follows:

StartDeclare array MARKSInput MARKS[0] to MARKS[9]Sort MARKSPrint MARKS[9] ----- this prints the highest markPrint MARKS[0] ----- this prints the least markFOR I = 0 TO 9; ADD MARK[I] TO TOTALPrint TOTALPrint TOTAL/10Stop

The above pseudocode gets input for the array; then sorts the array before performing the required operations

Read more about pseudocodes at:

https://brainly.com/question/24735155

List and describe in detail any four power management tools that were developed by at
least two manufacturers to prevent and/or reduce the damage of processors from the
process of overclocking. Your answer must also include the manufacturers name

Answers

Power management tools is a kind of technology that enables the efficient and optimized management of the power that is consumed by computer hardware.

What is the purpose of a power management tool?

The key purpose of a power management tool is to help:

minimize power consumption;save costspreserve the optimal performance of the system.

Examples of power management tools are:

Signal chain PowerADI Power StudioLTpowerPlay, etc.

Learn more about Power management tools at:
https://brainly.com/question/12816781

Which string method returns true if the character is a lowercase letter?

letter = input("Enter a letter: ")

islower(letter)

isLower(letter)

letter.islower() * is correct

letter.isLower()

Answers

The right answer is : is.lower(letter)

Answer: islower(letter)

Explanation: got it right on edgen

Examples of ________, which is hosted on a web site, include e-mail, word processing, tax preparation, and game programs.

Answers

Answer:Web Application

Explanation:Web hosting is more or less like having an ordinary computer in the cloud in order share information and resources with others world wide.One cannot make effective use of a computer without software applications . Similarly hosting just normal html pages and documents on a server cannot help increase productivity,hence the creation of cloud computer applications also known as "Web Apps (Web Applications)" to aid boost productivity and information dissemination via quality task automations.

The quickest way to change a word is to double
click it.
Select the correct answer
O True
False

Answers

Answer:

I don't think that the fastest way to change a word is to double click it. Even though it highlights it super fast, then you just press backspace once, it doesn't compare to the one where you press the "ctrl" and "backspace" key at the same time, and it makes the whole entire word disappear in the blink of an eye. But, I am not sure if anybody really knows about this trick. So, it is 50/50.

Explanation:

:)

Why do you want to work for Rev?

Answers

People do have reasons why they want to work for a particular company. It may be due to what they company stands for, what they make or about your dream.

I can therefore say that I want to work for Rev because they are revolutionizing the industry and I want to be part of the change process.

How do you answer why do you want to work?

Note that when looking for a job, job experience do matter. When ask the reason for looking for this job.

One can answer that they have the experience or the needed expertise and skills required for this job as they want to be aligned with what the company stands for.

Learn more about work  from

https://brainly.com/question/25573309

How many bit positions to borrow from the host address field to subnet the network address 169.67.0.0 exactly into 5 subnets

Answers

Answer:

send me the opportunity to work with you and your family and friends and family are doing well and that you are not the intended recipient you are not the intended recipient you are not the intended recipient you are not the intended recipient you are not the intended recipient you are not the intended recipient you are not the intended recipient you are not the intended recipient you are not the intended recipient you are not the intended recipient

List one unprofessional AND one professional example of internet/social media

Answers

Professional: Using social media to advertise a company you created

Unprofessional: Using social media to watch cat videos

The professional use of social media involves the use for job posting, while the unprofessional use involves watching videos.

What is social media?

A social media is given as the network that forms the connections of the individuals over the internet. It enables the user to connect irrespective of borders.

The use of social media has been professional and unprofessional both. The professional use of social media involves the use for job posting, while the unprofessional use involves watching videos.

Learn more about social media, here:

https://brainly.com/question/9564823

#SPJ5

You're a consultant for a large enterprise that needs a comprehensive IP addressing and DNS management solution for its physical and virtual networks. The enterprise has a primary office in Pittsburgh and three branch offices in Los Angeles, New York, and Miami. It has IT support staff only in the branch offices.The enterprise's server specialists are located in Pittsburgh. The IT directory in Pittsburgh wants to offload some of the IPAM management functions to some of the IT staff without giving them broader domain or forest administrative right. Which type of IPAM architecture do you recommend? Which features of IPAM are you likely to recommend using to address the requirements?

Answers

The type of IPAM architecture that I will recommend is the Centralized IPAM. The centralized IPAM server when deploy can help to address the issue.

What is IPAM?

IPAM (IP Address Management) is known to be a kind of administration of DNS and DHCP. This is known to be a network services that helps and handles IP addresses to machines in a TCP/IP network.

The Centralized Repository can help administrators to maintain or keep a good, correct and current records of all their IP assignments and left over addresses.

Learn more about IPAM from

https://brainly.com/question/24930846

Someone tell me the answer who thanks who ever who

Answers

Answer:

2. Trumpets,Guitar,Drums,Harp,Piano

3. The music notes and variety of colors and the melodies lines

4. 1 thing that needed change is maybe, it needed more intruments.

Other Questions
please help me ( if you get it right i will rate you 5/5) Which sentence uses a comma or commas correctly?I need chicken lettuce guacamole, tortillas, and cheese to make my taco.Violets, roses, lilacs, and tulips bloomed in Robbies garden.It can be difficult to know when to use commas semicolons, or dashes.Buddy delivered cupcakes, eclairs, cannolis, and, cookies. The scores at a golf course recorded last year followed a normal distribution with mean 78 andstandard deviation 11. you choose an srs of 15 scores and calculate xbar = mean score. which ofthe following are the mean and standard deviation of the sampling distribution of x bar? ?How can friends, family members, or teammatesincrease the likelihood of you reaching your goals? how did scientific revolution lead to the revolutionary war A ball that has a mechanical energy of 65 J haas 10 j of kinetic energy. The ball has j of potential energy How can stasis questions help you when you are creating an argument?Question 3 options:a) Stasis questions can help you identify fallacies of reasoning that interfere with the logic of your argument.b) Stasis questions can help you build common ground with your audience so that the argument is more persuasive.c) Stasis questions can help you increase your credibility so that your audience is more inclined to believe your argument.d) Stasis questions can help you identify the question at the heart of your argument, making it easier to see whether the question has been adequately answered. Why wouldnt you move during an earthquake? Which material would most likely contribute to the formation of humus? A. basalt B. granite C. grass D. salt Solve by completing the square brainliest if it is right Order these numbers from least to greatest. 5.1072, 5.27, 5.207, 5.1 This is for pe please just record your self and you can cover you face if you want to. just follow these movements and get brainliest Thanks! Which of the following could be a story about giants and monsters that has been passed down orally?A) haikuB) nonfictional storyC) folktaleD) setting A ___________ fracture is different from other types of fractures as they occur from overuse rather than trauma. 5. Apply Concepts A heat engine has an energy input of 300 J. Its output of use-ful energy is 150 J. What is the total output of non-useful energy from the heatengine? Explain how you know. BRAINLIEST + 45 POINTS FOR RIGHT ANSWER ONLY! MUST SHOW WORK!Jake tossed a paper cup 50 times and recorded how it landed. The table shows the results:Position: Open Side Up Closed Side Up Landing on SideNumber of Times Landed in Position: 3 7 40Based on the table, determine the experimental probability of each outcome (landing open side up, landing closed side up, and landing on its side). Show your work. The speed of the jet Alyssa flew on from Boston to London was 480 mph. on her return flight, the speed of the jet was 600mph with a tail wind. What was Alyssa's average speed on the round trip? Don recently received his first credit card, a MasterCard with a credit line of $500. In the first month he had it, he ran up charges of $425. How much of that must he pay if he wants to charge a discount airline ticket, which costs $200, on his card without going over his credit limit does a five pound ball weigh more or less 40000 miles above sea level