Skip to content
Smart Scholars🛡 Scholar Shield🏛 Research Integrity Desk🧩 Portfolio Console📰 Journals🔧 DOI MembersTools🔎 Journal AuditGI GetIndexedDr DOI Doctor

Cite this DOI

10.46243/jst.2023.v8.i12.pp17-22 · OPEN PORT SCANNER TO IDENTIFY OPEN PORTS USING PYTHON

APA (7th edition)

Marni Rohit, M. R. (2023). OPEN PORT SCANNER TO IDENTIFY OPEN PORTS USING PYTHON. *Journal of Science & Technology*, *8*(12), 17–22. https://doi.org/10.46243/jst.2023.v8.i12.pp17-22

⬇ text Italics are shown as *asterisks* in plain text — the journal or book title and the volume.

BibTeX

@article{marnirohit2023open,
  author    = {Marni Rohit, Marni Rohit},
  title     = {{OPEN PORT SCANNER TO IDENTIFY OPEN PORTS USING PYTHON}},
  journal   = {Journal of Science \& Technology},
  year      = {2023},
  month     = {dec},
  volume    = {8},
  number    = {12},
  pages     = {17--22},
  publisher = {Longman Publishers},
  issn      = {2456-5660},
  doi       = {10.46243/jst.2023.v8.i12.pp17-22},
  url       = {https://doi.org/10.46243/jst.2023.v8.i12.pp17-22},
  language  = {en},
  abstract  = {to craft and send UDP packets of varying sizes to the chosen port on the specified IP address. On the other hand, it employs threads to concurrently scan ports, identifying those in a ‘Listening’ state. Users are prompted to input necessary details, ensuring flexibility and user-interaction. The script provides real-time updates, displaying progress and results during the scanning and flooding processes. The Open Port Scanner revolves around the creation of a sophisticated tool designed to assess the security status of network systems comprehensively. In today’s interconnected digital landscape, ensuring the integrity of network infrastructure is paramount. The scanner will serve as an indispensable asset 1,2,3B.Tech Student,Department Of CSE(Cyber Security),Malla Reddy College Of Engineering and Technology,Hyderabad,India. 4Associate Professor, Department Of CSE (Cyber Security), Malla Reddy College Of Engineering and Technology, Hyderabad,India. DOI:https://doi.org/10.46243/jst.2023.v8.i12.pp17-22 11 Marni Rohit, Madgul Udaykiran Reddy, Koyyala Chandra Teja, V Bala: OPEN PORT SCANNER TO IDENTIFY OPEN PORTS USING PYTHON for cybersecurity professionals, enabling them to identify open ports and potential vulnerabilities that could be exploited by malicious actors. By delivering an intuitive user interface, supporting multiple scan techniques, and generating detailed reports, the project aims to provide an efficient and user-friendly solution for network security assessment. Ethical considerations and responsible use will remain at the forefront of our project, ensuring that users are empowered to conduct scans responsibly and within the bounds of legal and ethical frameworks. The tool is designed with a disclaimer, emphasizing responsible usage and non-endorsement of any misuse. By facilitating network analysis and stress testing, it empowers users to enhance network security and performance. LITERATURE SURVEY According to Authors RajniRanjan Singh and Deepak Singh Tomar, Department of Computer Science and Engineering, Maulana Azad National Institute of Technology, Bhopal, M.P., India., Port scanning is a process of probing networks, finding vulnerabilities and then infiltrate IT recourses. It is often the fundamental method utilized by intruder prior to initiate a targeted cyber-attack. Port scan attack traffic does not contain any specific signature, therefore IDS based detection may suffer by generating many/false alerts. Manual examination is an error prone, labor intensive and time consuming process. This work presented an approach to detect port scanning attack based on the entropy and failed connection attempt made by each host. To analyze and prioritize the observed evidence, DempsterShafer theory is utilized to calculate combined belief of each host in support of the proposed hypothesis. TCP port scanners are specialized programs used to determine what TCP ports of a host have processes listening on them for possible connections. Since these ports characterize, in part, the amount of exposure of the hosts to potential external attacks, knowing their existence is a fundamental matter for network and/or security administrators. Moreover, as scanners are also used by hackers, administrators need to know how they work and what possible weakness they exploit to be able to prevent unwanted scanning or at least to record each scanning attempt. WORKING METHODOLOGY The working of an open port scanner to identify open ports using Python involves establishing connections to specific ports on a target system to determine whether they are open, closed, or filtered. Here’s a step-by-step explanation of how such a scanner operates: Input Parameters: The user provides input parameters to the scanner, including the target IP address or hostname and a range of ports to scan. Additional options may include the choice of scanning technique (e.g., TCP, UDP), timeout values, and output preferences. Socket Creation: The Python program uses the socket library to create a socket, which is the endpoint for network communication. The scanner creates a socket for each port to be scanned. Port Loop: The scanner enters a loop to iterate over the specified range of ports. For each port in the range, the following steps are performed: Socket Connection Attempt: The scanner attempts to establish a connection to the target host’s IP address and the current port using the created socket. The specific method used (e.g., TCP connect, SYN, or UDP) depends on the scanning technique chosen. Handling Connection Result: Depending on the outcome of the connection attempt, the scanner records the status of the port: If the connection is successful, the port is marked as “open.” If the connection is refused, the port is marked as “closed.” If the connection times out or encounters an error, the port status may be marked as “filtered” or “unreachable.” The purpose}
}

⬇ .bib

RIS (EndNote, Zotero, Mendeley)

TY  - JOUR
TI  - OPEN PORT SCANNER TO IDENTIFY OPEN PORTS USING PYTHON
AU  - Marni Rohit, Marni Rohit
JO  - Journal of Science & Technology
PY  - 2023
DA  - 2023/12/12/
VL  - 8
IS  - 12
SP  - 17
EP  - 22
PB  - Longman Publishers
SN  - 2456-5660
LA  - en
AB  - to craft and send UDP packets of varying sizes to the chosen port on the specified IP address. On the other hand, it employs threads to concurrently scan ports, identifying those in a ‘Listening’ state. Users are prompted to input necessary details, ensuring flexibility and user-interaction. The script provides real-time updates, displaying progress and results during the scanning and flooding processes. The Open Port Scanner revolves around the creation of a sophisticated tool designed to assess the security status of network systems comprehensively. In today’s interconnected digital landscape, ensuring the integrity of network infrastructure is paramount. The scanner will serve as an indispensable asset 1,2,3B.Tech Student,Department Of CSE(Cyber Security),Malla Reddy College Of Engineering and Technology,Hyderabad,India. 4Associate Professor, Department Of CSE (Cyber Security), Malla Reddy College Of Engineering and Technology, Hyderabad,India. DOI:https://doi.org/10.46243/jst.2023.v8.i12.pp17-22 11 Marni Rohit, Madgul Udaykiran Reddy, Koyyala Chandra Teja, V Bala: OPEN PORT SCANNER TO IDENTIFY OPEN PORTS USING PYTHON for cybersecurity professionals, enabling them to identify open ports and potential vulnerabilities that could be exploited by malicious actors. By delivering an intuitive user interface, supporting multiple scan techniques, and generating detailed reports, the project aims to provide an efficient and user-friendly solution for network security assessment. Ethical considerations and responsible use will remain at the forefront of our project, ensuring that users are empowered to conduct scans responsibly and within the bounds of legal and ethical frameworks. The tool is designed with a disclaimer, emphasizing responsible usage and non-endorsement of any misuse. By facilitating network analysis and stress testing, it empowers users to enhance network security and performance. LITERATURE SURVEY According to Authors RajniRanjan Singh and Deepak Singh Tomar, Department of Computer Science and Engineering, Maulana Azad National Institute of Technology, Bhopal, M.P., India., Port scanning is a process of probing networks, finding vulnerabilities and then infiltrate IT recourses. It is often the fundamental method utilized by intruder prior to initiate a targeted cyber-attack. Port scan attack traffic does not contain any specific signature, therefore IDS based detection may suffer by generating many/false alerts. Manual examination is an error prone, labor intensive and time consuming process. This work presented an approach to detect port scanning attack based on the entropy and failed connection attempt made by each host. To analyze and prioritize the observed evidence, DempsterShafer theory is utilized to calculate combined belief of each host in support of the proposed hypothesis. TCP port scanners are specialized programs used to determine what TCP ports of a host have processes listening on them for possible connections. Since these ports characterize, in part, the amount of exposure of the hosts to potential external attacks, knowing their existence is a fundamental matter for network and/or security administrators. Moreover, as scanners are also used by hackers, administrators need to know how they work and what possible weakness they exploit to be able to prevent unwanted scanning or at least to record each scanning attempt. WORKING METHODOLOGY The working of an open port scanner to identify open ports using Python involves establishing connections to specific ports on a target system to determine whether they are open, closed, or filtered. Here’s a step-by-step explanation of how such a scanner operates: Input Parameters: The user provides input parameters to the scanner, including the target IP address or hostname and a range of ports to scan. Additional options may include the choice of scanning technique (e.g., TCP, UDP), timeout values, and output preferences. Socket Creation: The Python program uses the socket library to create a socket, which is the endpoint for network communication. The scanner creates a socket for each port to be scanned. Port Loop: The scanner enters a loop to iterate over the specified range of ports. For each port in the range, the following steps are performed: Socket Connection Attempt: The scanner attempts to establish a connection to the target host’s IP address and the current port using the created socket. The specific method used (e.g., TCP connect, SYN, or UDP) depends on the scanning technique chosen. Handling Connection Result: Depending on the outcome of the connection attempt, the scanner records the status of the port: If the connection is successful, the port is marked as “open.” If the connection is refused, the port is marked as “closed.” If the connection times out or encounters an error, the port status may be marked as “filtered” or “unreachable.” The purpose
DO  - 10.46243/jst.2023.v8.i12.pp17-22
UR  - https://doi.org/10.46243/jst.2023.v8.i12.pp17-22
ER  -

⬇ .ris

CSL-JSON

{
    "type": "article-journal",
    "id": "10.46243/jst.2023.v8.i12.pp17-22",
    "DOI": "10.46243/jst.2023.v8.i12.pp17-22",
    "URL": "https://doi.org/10.46243/jst.2023.v8.i12.pp17-22",
    "title": "OPEN PORT SCANNER TO IDENTIFY OPEN PORTS USING PYTHON",
    "source": "Smart Scholars Registry",
    "container-title": "Journal of Science & Technology",
    "author": [
        {
            "family": "Marni Rohit",
            "given": "Marni Rohit"
        }
    ],
    "issued": {
        "date-parts": [
            [
                2023,
                12,
                12
            ]
        ]
    },
    "volume": "8",
    "issue": "12",
    "page": "17-22",
    "publisher": "Longman Publishers",
    "language": "en",
    "abstract": "to craft and send UDP packets of varying sizes to the chosen port on the specified IP address. On the other hand, it employs threads to concurrently scan ports, identifying those in a ‘Listening’ state. Users are prompted to input necessary details, ensuring flexibility and user-interaction. The script provides real-time updates, displaying progress and results during the scanning and flooding processes. The Open Port Scanner revolves around the creation of a sophisticated tool designed to assess the security status of network systems comprehensively. In today’s interconnected digital landscape, ensuring the integrity of network infrastructure is paramount. The scanner will serve as an indispensable asset 1,2,3B.Tech Student,Department Of CSE(Cyber Security),Malla Reddy College Of Engineering and Technology,Hyderabad,India. 4Associate Professor, Department Of CSE (Cyber Security), Malla Reddy College Of Engineering and Technology, Hyderabad,India. DOI:https://doi.org/10.46243/jst.2023.v8.i12.pp17-22 11 Marni Rohit, Madgul Udaykiran Reddy, Koyyala Chandra Teja, V Bala: OPEN PORT SCANNER TO IDENTIFY OPEN PORTS USING PYTHON for cybersecurity professionals, enabling them to identify open ports and potential vulnerabilities that could be exploited by malicious actors. By delivering an intuitive user interface, supporting multiple scan techniques, and generating detailed reports, the project aims to provide an efficient and user-friendly solution for network security assessment. Ethical considerations and responsible use will remain at the forefront of our project, ensuring that users are empowered to conduct scans responsibly and within the bounds of legal and ethical frameworks. The tool is designed with a disclaimer, emphasizing responsible usage and non-endorsement of any misuse. By facilitating network analysis and stress testing, it empowers users to enhance network security and performance. LITERATURE SURVEY According to Authors RajniRanjan Singh and Deepak Singh Tomar, Department of Computer Science and Engineering, Maulana Azad National Institute of Technology, Bhopal, M.P., India., Port scanning is a process of probing networks, finding vulnerabilities and then infiltrate IT recourses. It is often the fundamental method utilized by intruder prior to initiate a targeted cyber-attack. Port scan attack traffic does not contain any specific signature, therefore IDS based detection may suffer by generating many/false alerts. Manual examination is an error prone, labor intensive and time consuming process. This work presented an approach to detect port scanning attack based on the entropy and failed connection attempt made by each host. To analyze and prioritize the observed evidence, DempsterShafer theory is utilized to calculate combined belief of each host in support of the proposed hypothesis. TCP port scanners are specialized programs used to determine what TCP ports of a host have processes listening on them for possible connections. Since these ports characterize, in part, the amount of exposure of the hosts to potential external attacks, knowing their existence is a fundamental matter for network and/or security administrators. Moreover, as scanners are also used by hackers, administrators need to know how they work and what possible weakness they exploit to be able to prevent unwanted scanning or at least to record each scanning attempt. WORKING METHODOLOGY The working of an open port scanner to identify open ports using Python involves establishing connections to specific ports on a target system to determine whether they are open, closed, or filtered. Here’s a step-by-step explanation of how such a scanner operates: Input Parameters: The user provides input parameters to the scanner, including the target IP address or hostname and a range of ports to scan. Additional options may include the choice of scanning technique (e.g., TCP, UDP), timeout values, and output preferences. Socket Creation: The Python program uses the socket library to create a socket, which is the endpoint for network communication. The scanner creates a socket for each port to be scanned. Port Loop: The scanner enters a loop to iterate over the specified range of ports. For each port in the range, the following steps are performed: Socket Connection Attempt: The scanner attempts to establish a connection to the target host’s IP address and the current port using the created socket. The specific method used (e.g., TCP connect, SYN, or UDP) depends on the scanning technique chosen. Handling Connection Result: Depending on the outcome of the connection attempt, the scanner records the status of the port: If the connection is successful, the port is marked as “open.” If the connection is refused, the port is marked as “closed.” If the connection times out or encounters an error, the port status may be marked as “filtered” or “unreachable.” The purpose",
    "ISSN": "2456-5660"
}

⬇ .json What citeproc and reference managers read; the DOI system hands it out for Accept: application/vnd.citationstyles.csl+json, and so does this registry's resolver.

From the record as registered (version 2) — the record and its history. Programs: https://registry.smartscholars.in/api.php?action=cite&doi=10.46243%2Fjst.2023.v8.i12.pp17-22 gives all four in one JSON answer.

Share this page

Share this page

Ask AI about this page

Everything Smart Scholars runs

Nine sites, one account. A journal starts at the audit; an author starts at Scholar Shield.

What we do: DOIs registered from what a journal already has · Crossref records completed — references, abstracts, licences, ORCID iDs, affiliations and ROR IDs, funding · DOIs that resolve · articles preserved · journals rated on the public record · see everything we do →

Book a free call

For journals & publishers

Start with the audit — ₹4,999 per journal, and the gate to everything else.

DOI care

Every service on one journal profile — each previews first and acts only on your approval.

  • DOI Doctor — check & repairevery DOI tested at doi.org and Crossref; dead links, abstracts, licences, ORCIDs
  • Smart Deposita new DOI from your PDF, Word file, article page, JATS XML or spreadsheet — every value shown with its source, deposited once you confirm it
  • DOI census (Excel)site against Crossref, both directions, with a copy-paste fix per article
  • Backfile DOIsDOIs for older articles that never had one — no per-DOI fee of ours
  • DOIs for conference proceedingsthe conference, the volume and every paper — registered in the organiser's own name
  • Scopus indexing guidethe minimum criteria, the 14 CSAB criteria and how a title is suggested — from Elsevier's own page
  • Embase indexing guidewhat Embase asks of a biomedical journal and how to suggest it
  • Write DOIs into OJSthe verified DOIs pushed onto your article pages through your own API
  • Silent-failure monitorweekly checks of site, OAI-PMH, Scholar tags, ISSN, preservation, hijack lists
  • Journal Radarevery journal, every day: SSL, DNS, redirects, robots.txt, OJS, DOIs, Crossref metadata, broken links — what broke since yesterday first
  • Verified metrics & badgesa public, dated, source-linked metrics page and a "cited by" badge
  • Quality dossier (PDF)one PDF for universities, authors and reviewers
  • Author citation enginethe citation steps emailed to each author from the journal's own mailbox
  • JATS XMLmachine-readable JATS per article
  • Duplicate articlesthe same paper published twice — you choose which copy stays

For authors & researchers

Free to use. Nothing you check is shared with the journal.

For institutions, sponsors & DOI operators

Smart Scholars

Mon–Sat, 10:00–19:00 IST. The Ask AI button on every page answers about our services at any hour.

News

Policies

What we can register a DOI for

20 kinds of record, one account, one place. Every one gets a DOI that resolves, metadata that indexes read, and a record that stays correct afterwards.

Journals

  • Journal articles
  • Journal titles
  • Pending publications
  • Peer reviews
  • Preprints & posted content

Books & conferences

  • Books
  • Book chapters
  • Book series
  • Book sets
  • Conference proceedings
  • Proceedings series
  • Conference papers

Other research output

  • Theses & dissertations
  • Reports & working papers
  • Report series
  • Standards
  • Databases
  • Datasets
  • Figures, tables & supplements

Funding

  • Grants & funding awards

Elsewhere

The same company, in the places our publishers already read.
Add Smart Scholars as a preferred source on GoogleSee more of our newsroom in Google’s Top Stories.
Smart Scholars · Every service on one pageNewsroom posts CC BY 4.0 · DOI metadata CC0 · everything else ©Data from OpenAlex (openalex.org), CC0 · Crossref · ISSN Portal · DOAJContact
WhatsApp