ionut97 Posted February 28, 2012 Report Share Posted February 28, 2012 Salutare!Am facut acest topic sa prezint cateva lucruri descoperite in propriul windows 7 din curiozitate care poate vor fi interesante pentru cineva.Din cate am observat windows-ul incepe sa copieze anumite lucruri de la linux, lucru care o sa il arat mai tarziu.Pentru inceput am gasit intr-un loc din system 32 o lista cu toate serviciile respectiv toate porturile si ce ar trebui sa faca.# Copyright (c) 1993-2004 Microsoft Corp.## This file contains port numbers for well-known services defined by IANA## Format:## <service name> <port number>/<protocol> [aliases...] [#<comment>]#echo 7/tcpecho 7/udpdiscard 9/tcp sink nulldiscard 9/udp sink nullsystat 11/tcp users #Active userssystat 11/udp users #Active usersdaytime 13/tcpdaytime 13/udpqotd 17/tcp quote #Quote of the dayqotd 17/udp quote #Quote of the daychargen 19/tcp ttytst source #Character generatorchargen 19/udp ttytst source #Character generatorftp-data 20/tcp #FTP, dataftp 21/tcp #FTP. controlssh 22/tcp #SSH Remote Login Protocoltelnet 23/tcpsmtp 25/tcp mail #Simple Mail Transfer Protocoltime 37/tcp timservertime 37/udp timserverrlp 39/udp resource #Resource Location Protocolnameserver 42/tcp name #Host Name Servernameserver 42/udp name #Host Name Servernicname 43/tcp whoisdomain 53/tcp #Domain Name Serverdomain 53/udp #Domain Name Serverbootps 67/udp dhcps #Bootstrap Protocol Serverbootpc 68/udp dhcpc #Bootstrap Protocol Clienttftp 69/udp #Trivial File Transfergopher 70/tcpfinger 79/tcphttp 80/tcp www www-http #World Wide Webhosts2-ns 81/tcp #HOSTS2 Name Serverhosts2-ns 81/udp #HOSTS2 Name Serverkerberos 88/tcp krb5 kerberos-sec #Kerberoskerberos 88/udp krb5 kerberos-sec #Kerberoshostname 101/tcp hostnames #NIC Host Name Serveriso-tsap 102/tcp #ISO-TSAP Class 0rtelnet 107/tcp #Remote Telnet Servicepop2 109/tcp postoffice #Post Office Protocol - Version 2pop3 110/tcp #Post Office Protocol - Version 3sunrpc 111/tcp rpcbind portmap #SUN Remote Procedure Callsunrpc 111/udp rpcbind portmap #SUN Remote Procedure Callauth 113/tcp ident tap #Identification Protocoluucp-path 117/tcpsqlserv 118/tcp #SQL Servicesnntp 119/tcp usenet #Network News Transfer Protocolntp 123/udp #Network Time Protocolepmap 135/tcp loc-srv #DCE endpoint resolutionepmap 135/udp loc-srv #DCE endpoint resolutionnetbios-ns 137/tcp nbname #NETBIOS Name Servicenetbios-ns 137/udp nbname #NETBIOS Name Servicenetbios-dgm 138/udp nbdatagram #NETBIOS Datagram Servicenetbios-ssn 139/tcp nbsession #NETBIOS Session Serviceimap 143/tcp imap4 #Internet Message Access Protocolsql-net 150/tcpsqlsrv 156/tcppcmail-srv 158/tcp #PCMail Serversnmp 161/udp #SNMPsnmptrap 162/udp snmp-trap #SNMP trapprint-srv 170/tcp #Network PostScriptbgp 179/tcp #Border Gateway Protocolirc 194/tcp #Internet Relay Chat Protocol ipx 213/udp #IPX over IPrtsps 322/tcprtsps 322/udpmftp 349/tcpmftp 349/udpldap 389/tcp #Lightweight Directory Access Protocolhttps 443/tcp MCom #HTTP over TLS/SSLhttps 443/udp MCom #HTTP over TLS/SSLmicrosoft-ds 445/tcpmicrosoft-ds 445/udpkpasswd 464/tcp # Kerberos (v5)kpasswd 464/udp # Kerberos (v5)isakmp 500/udp ike #Internet Key Exchangecrs 507/tcp #Content Replication Systemcrs 507/udp #Content Replication Systemexec 512/tcp #Remote Process Executionbiff 512/udp comsatlogin 513/tcp #Remote Loginwho 513/udp whodcmd 514/tcp shellsyslog 514/udpprinter 515/tcp spoolertalk 517/udpntalk 518/udpefs 520/tcp #Extended File Name Serverrouter 520/udp route routedulp 522/tcp ulp 522/udp timed 525/udp timeservertempo 526/tcp newdateirc-serv 529/tcpirc-serv 529/udpcourier 530/tcp rpcconference 531/tcp chatnetnews 532/tcp readnewsnetwall 533/udp #For emergency broadcastsuucp 540/tcp uucpdklogin 543/tcp #Kerberos loginkshell 544/tcp krcmd #Kerberos remote shelldhcpv6-client 546/tcp #DHCPv6 Clientdhcpv6-client 546/udp #DHCPv6 Clientdhcpv6-server 547/tcp #DHCPv6 Serverdhcpv6-server 547/udp #DHCPv6 Serverafpovertcp 548/tcp #AFP over TCPafpovertcp 548/udp #AFP over TCPnew-rwho 550/udp new-whortsp 554/tcp #Real Time Stream Control Protocolrtsp 554/udp #Real Time Stream Control Protocolremotefs 556/tcp rfs rfs_serverrmonitor 560/udp rmonitordmonitor 561/udpnntps 563/tcp snntp #NNTP over TLS/SSLnntps 563/udp snntp #NNTP over TLS/SSLwhoami 565/tcpwhoami 565/udpms-shuttle 568/tcp #Microsoft shuttlems-shuttle 568/udp #Microsoft shuttlems-rome 569/tcp #Microsoft romems-rome 569/udp #Microsoft romehttp-rpc-epmap 593/tcp #HTTP RPC Ep Maphttp-rpc-epmap 593/udp #HTTP RPC Ep Maphmmp-ind 612/tcp #HMMP Indicationhmmp-ind 612/udp #HMMP Indicationhmmp-op 613/tcp #HMMP Operationhmmp-op 613/udp #HMMP Operationldaps 636/tcp sldap #LDAP over TLS/SSLdoom 666/tcp #Doom Id Softwaredoom 666/udp #Doom Id Softwaremsexch-routing 691/tcp #MS Exchange Routingmsexch-routing 691/udp #MS Exchange Routingkerberos-adm 749/tcp #Kerberos administrationkerberos-adm 749/udp #Kerberos administrationkerberos-iv 750/udp #Kerberos version IVmdbs_daemon 800/tcpmdbs_daemon 800/udpftps-data 989/tcp #FTP data, over TLS/SSLftps 990/tcp #FTP control, over TLS/SSLtelnets 992/tcp #Telnet protocol over TLS/SSLimaps 993/tcp #IMAP4 protocol over TLS/SSLircs 994/tcp #IRC protocol over TLS/SSLpop3s 995/tcp spop3 #pop3 protocol over TLS/SSL (was spop3)pop3s 995/udp spop3 #pop3 protocol over TLS/SSL (was spop3)kpop 1109/tcp #Kerberos POPnfsd-status 1110/tcp #Cluster status infonfsd-keepalive 1110/udp #Client status infonfa 1155/tcp #Network File Accessnfa 1155/udp #Network File Accessactivesync 1034/tcp #ActiveSync Notificationsphone 1167/udp #Conference callingopsmgr 1270/tcp #Microsoft Operations Manageropsmgr 1270/udp #Microsoft Operations Managerms-sql-s 1433/tcp #Microsoft-SQL-Server ms-sql-s 1433/udp #Microsoft-SQL-Server ms-sql-m 1434/tcp #Microsoft-SQL-Monitorms-sql-m 1434/udp #Microsoft-SQL-Monitor ms-sna-server 1477/tcpms-sna-server 1477/udpms-sna-base 1478/tcpms-sna-base 1478/udpwins 1512/tcp #Microsoft Windows Internet Name Servicewins 1512/udp #Microsoft Windows Internet Name Serviceingreslock 1524/tcp ingresstt 1607/tcpstt 1607/udpl2tp 1701/udp #Layer Two Tunneling Protocolpptconference 1711/tcppptconference 1711/udppptp 1723/tcp #Point-to-point tunnelling protocolmsiccp 1731/tcpmsiccp 1731/udpremote-winsock 1745/tcpremote-winsock 1745/udpms-streaming 1755/tcpms-streaming 1755/udpmsmq 1801/tcp #Microsoft Message Queuemsmq 1801/udp #Microsoft Message Queueradius 1812/udp #RADIUS authentication protocolradacct 1813/udp #RADIUS accounting protocolmsnp 1863/tcpmsnp 1863/udpssdp 1900/tcpssdp 1900/udpclose-combat 1944/tcpclose-combat 1944/udpnfsd 2049/udp nfs #NFS serverknetd 2053/tcp #Kerberos de-multiplexormzap 2106/tcp #Multicast-Scope Zone Announcement Protocolmzap 2106/udp #Multicast-Scope Zone Announcement Protocolqwave 2177/tcp #QWAVEqwave 2177/udp #QWAVE Experiment Portdirectplay 2234/tcp #DirectPlaydirectplay 2234/udp #DirectPlayms-olap3 2382/tcp #Microsoft OLAP 3ms-olap3 2382/udp #Microsoft OLAP 3ms-olap4 2383/tcp #Microsoft OLAP 4ms-olap4 2383/udp #Microsoft OLAP 4ms-olap1 2393/tcp #Microsoft OLAP 1ms-olap1 2393/udp #Microsoft OLAP 1ms-olap2 2394/tcp #Microsoft OLAP 2ms-olap2 2394/udp #Microsoft OLAP 2ms-theater 2460/tcpms-theater 2460/udpwlbs 2504/tcp #Microsoft Windows Load Balancing Serverwlbs 2504/udp #Microsoft Windows Load Balancing Serverms-v-worlds 2525/tcp #Microsoft V-Worlds ms-v-worlds 2525/udp #Microsoft V-Worlds sms-rcinfo 2701/tcp #SMS RCINFOsms-rcinfo 2701/udp #SMS RCINFOsms-xfer 2702/tcp #SMS XFERsms-xfer 2702/udp #SMS XFERsms-chat 2703/tcp #SMS CHATsms-chat 2703/udp #SMS CHATsms-remctrl 2704/tcp #SMS REMCTRLsms-remctrl 2704/udp #SMS REMCTRLmsolap-ptp2 2725/tcp #MSOLAP PTP2msolap-ptp2 2725/udp #MSOLAP PTP2icslap 2869/tcpicslap 2869/udpcifs 3020/tcpcifs 3020/udpxbox 3074/tcp #Microsoft Xbox game portxbox 3074/udp #Microsoft Xbox game portms-dotnetster 3126/tcp #Microsoft .NET ster portms-dotnetster 3126/udp #Microsoft .NET ster portms-rule-engine 3132/tcp #Microsoft Business Rule Engine Update Servicems-rule-engine 3132/udp #Microsoft Business Rule Engine Update Servicemsft-gc 3268/tcp #Microsoft Global Catalogmsft-gc 3268/udp #Microsoft Global Catalogmsft-gc-ssl 3269/tcp #Microsoft Global Catalog with LDAP/SSLmsft-gc-ssl 3269/udp #Microsoft Global Catalog with LDAP/SSLms-cluster-net 3343/tcp #Microsoft Cluster Netms-cluster-net 3343/udp #Microsoft Cluster Netms-wbt-server 3389/tcp #MS WBT Serverms-wbt-server 3389/udp #MS WBT Serverms-la 3535/tcp #Microsoft Class Serverms-la 3535/udp #Microsoft Class Serverpnrp-port 3540/tcp #PNRP User Portpnrp-port 3540/udp #PNRP User Portteredo 3544/tcp #Teredo Portteredo 3544/udp #Teredo Portp2pgroup 3587/tcp #Peer to Peer Groupingp2pgroup 3587/udp #Peer to Peer Groupingws-discovery 3702/udp #WS-Discoveryws-discovery 3702/tcp #WS-Discoverydvcprov-port 3776/tcp #Device Provisioning Portdvcprov-port 3776/udp #Device Provisioning Portmsfw-control 3847/tcp #Microsoft Firewall Controlmsdts1 3882/tcp #DTS Service Portsdp-portmapper 3935/tcp #SDP Port Mapper Protocolsdp-portmapper 3935/udp #SDP Port Mapper Protocolnet-device 4350/tcp #Net Devicenet-device 4350/udp #Net Deviceipsec-msft 4500/tcp #Microsoft IPsec NAT-Tipsec-msft 4500/udp #Microsoft IPsec NAT-Tllmnr 5355/tcp #LLMNR llmnr 5355/udp #LLMNR wsd 5357/tcp #Web Services on devices wsd 5358/tcp #Web Services on devicesrrac 5678/tcp #Remote Replication Agent Connectionrrac 5678/udp #Remote Replication Agent Connectiondccm 5679/tcp #Direct Cable Connect Managerdccm 5679/udp #Direct Cable Connect Managerms-licensing 5720/tcp #Microsoft Licensingms-licensing 5720/udp #Microsoft Licensing directplay8 6073/tcp #DirectPlay8directplay8 6073/udp #DirectPlay8man 9535/tcp #Remote Man Serverrasadv 9753/tcprasadv 9753/udpimip-channels 11320/tcp #IMIP Channels Portimip-channels 11320/udp #IMIP Channels Portdirectplaysrvr 47624/tcp #Direct Play Serverdirectplaysrvr 47624/udp #Direct Play ServerAm mai gasit o lista cu protocale (TCP,UDP,etc,) destul de interesanta , nu ca nu s-ar gasi pe google din primul search . # Copyright (c) 1993-2006 Microsoft Corp.## This file contains the Internet protocols as defined by various# RFCs. See http://www.iana.org/assignments/protocol-numbers ## Format:## <protocol name> <assigned number> [aliases...] [#<comment>]ip 0 IP # Internet protocolicmp 1 ICMP # Internet control message protocolggp 3 GGP # Gateway-gateway protocoltcp 6 TCP # Transmission control protocolegp 8 EGP # Exterior gateway protocolpup 12 PUP # PARC universal packet protocoludp 17 UDP # User datagram protocolhmp 20 HMP # Host monitoring protocolxns-idp 22 XNS-IDP # Xerox NS IDPrdp 27 RDP # "reliable datagram" protocolipv6 41 IPv6 # Internet protocol IPv6ipv6-route 43 IPv6-Route # Routing header for IPv6ipv6-frag 44 IPv6-Frag # Fragment header for IPv6esp 50 ESP # Encapsulating security payloadah 51 AH # Authentication headeripv6-icmp 58 IPv6-ICMP # ICMP for IPv6ipv6-nonxt 59 IPv6-NoNxt # No next header for IPv6ipv6-opts 60 IPv6-Opts # Destination options for IPv6rvd 66 RVD # MIT remote virtual disk Interesant in systemul32 este ca gasim aprox. toate programele fara sa le arunce windows-ul in fata noastra(nu apar in bara start).Un program interesant mi s-a parut Resource Monitor care arata cam tot ce se petrece in calculator,arata toate programele care ruleaza ,arata toate programele care se conecteaza la internet si cat consuma,arata consumul de memorie,etc.Este un program complet.Am gasit un editor text fara interfata GUI.Cel mai interesant mi s-a parut Powershell-ul care accepta comenzi care pana acum erau specifice linux.Powershell-ul are 2 versiuni in windows-ul meu.V1 care seamana cu un command prompt normal dar accepta comenzi linux.V2 care este putin modificat ca aspect.Exista un program ,tot in acelasi loc (C:\Windows\System32\WindowsPowerShell), care este un pare a fi un compilator pentru shell-scripting.Interfata este destul de interesanta si putem da comenzi in timp ce scriem si shell-ul fara ca acesta sa fie "deranjat". Un lucru interesant este ca a ramas non-case sensitive.Am gasit si o lista cu niste comenzi care pot fi folosite in powershell si o descriere a lor.# Copyright (c) Microsoft Corporation. All rights reserved.# # THIS SAMPLE CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,# WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.# IF THIS CODE AND INFORMATION IS MODIFIED, THE ENTIRE RISK OF USE OR RESULTS IN# CONNECTION WITH THE USE OF THIS CODE AND INFORMATION REMAINS WITH THE USER. set-alias cat get-contentset-alias cd set-locationset-alias clear clear-hostset-alias cp copy-itemset-alias h get-historyset-alias history get-historyset-alias kill stop-processset-alias lp out-printerset-alias ls get-childitemset-alias mount new-mshdriveset-alias mv move-itemset-alias popd pop-locationset-alias ps get-processset-alias pushd push-locationset-alias pwd get-locationset-alias r invoke-historyset-alias rm remove-itemset-alias rmdir remove-itemset-alias echo write-outputset-alias cls clear-hostset-alias chdir set-locationset-alias copy copy-itemset-alias del remove-itemset-alias dir get-childitemset-alias erase remove-itemset-alias move move-itemset-alias rd remove-itemset-alias ren rename-itemset-alias set set-variableset-alias type get-contentfunction help{ get-help $args[0] | out-host -paging}function man{ get-help $args[0] | out-host -paging}function mkdir{ new-item -type directory -path $args}function md{ new-item -type directory -path $args}function prompt{ "PS " + $(get-location) + "> "}& { for ($i = 0; $i -lt 26; $i++) { $funcname = ([System.Char]($i+65)) + ':' $str = "function global:$funcname { set-location $funcname } " invoke-expression $str }}Nu sunt lucruri noi ci doar cateva lucruri gasite in windows.Puteti sa aruncati o privire si voi prin system32 daca aveti windows7.Am postat doar pentru ca poate cuiva ii va placea.Unele lucruri sunt banale dar mie mi s-au parut interesante.In concluzie acum windows-ul poate fi mai accesibil si pentru uilizatorii de linux cu ajutorul acestui powershell. 1 Quote Link to comment Share on other sites More sharing options...
gwydion Posted February 28, 2012 Report Share Posted February 28, 2012 Nu le stiam pe toate, poate din cauza ca nu-s mare fan Windows. Dar edit, editorul de care ziceai tu, il stiu de la windows 95, si daca nu ma insel, este aparut de pe vremea lui MS-DOS. Ma jucam mult cu el cand eram mai pusti si-mi placea ca deschidea fisiere .exe fara sa-mi arate patratelele alea ca in notepad. Oricum nu intelegeam nimic, dar era distractiv cand ma plictiseam de dyna (bomberman), lambor si dave. [ce vremuri....] Quote Link to comment Share on other sites More sharing options...
Ghett0 Posted February 28, 2012 Report Share Posted February 28, 2012 Multe tool-uri s-au conservat de-a lungul versiunilor de Windows. Uite aici ceva interesant: . Quote Link to comment Share on other sites More sharing options...
ionut97 Posted February 28, 2012 Author Report Share Posted February 28, 2012 Acum o intrebare pentru cei care isi petrec majoritatea timpului/lucreaza pe linux:Ati putea sta pe windows acum cu powershell-ul fiind asemanator cu un shell linux (ca si comenzi vorbind)? Quote Link to comment Share on other sites More sharing options...
LLegoLLaS Posted February 28, 2012 Report Share Posted February 28, 2012 Acum o intrebare pentru cei care isi petrec majoritatea timpului/lucreaza pe linux:Ati putea sta pe windows acum cu powershell-ul fiind asemanator cu un shell linux (ca si comenzi vorbind)?doar niste comenzi nu aduc windowsul la acelasi nivel cu linuxulmere/pere Quote Link to comment Share on other sites More sharing options...
gwydion Posted February 28, 2012 Report Share Posted February 28, 2012 Eu stau acasa full-time pe linux, iar la serviciu l-am folosit foarte mult timp, acum fiind iar pe windows temporar. Sincer, imi place la nebunie windows 7, dar nu as da linuxul pe o licenta free de 7. Asta e doar parerea mea personala, acum fiecare e liber sa aleaga ce-i place.Cum zicea si Llegollas, niste comenzi nu constituie intregul sistem de operare. Quote Link to comment Share on other sites More sharing options...