Monday, December 4, 2023

Ama3on Linux2

 https://medium.com/shehuawwal/download-and-run-amazon-linux-2-ami-locally-on-your-virtualbox-or-vmware-b554a98dcb1c


https://suriyal.com/install-amazon-linux-2-on-virtualbox/


https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-lamp-amazon-linux-2.html


https://letsencrypt.org/




++




How to start Office for Windows applications in Office Safe Mode

Use one of these methods to start an Office application in Office Safe Mode on a Windows PC:

This method works for most Office versions on a Windows PC:

  1. Find the shortcut icon for your Office application.

  2. Press and hold the CTRL key and double-click the application shortcut.

  3. Click Yes when a window appears asking if you want to start the application in Safe Mode.

Note:  To stop Office Safe Mode, exit and restart your Office application. It will start in normal mode unless there's a problem opening the application.

This method works for most Office versions on a Windows PC:

  1. Right-click the Start button (lower-left corner) in Windows, and click Run.

    Alternatively, you can press the Windows logo key and the R key on your keyboard.

  2. In the Run box, type one of these commands:

    • For Excel: Type excel /safe, and click OK.

    • For Outlook: Type outlook /safe, and click OK.

    • For Word: Type winword /safe, and click OK.

    • For PowerPoint: Type powerpnt /safe, and click OK.

    • For Publisher: Type mspub /safe, and click OK.

    • For Visio: Type visio /safe, and click OK.

  1. program fpopenai_6;
  2. {
  3.   Demo on how to use openai in Freepascal
  4.   Find out more at https://openai.com where you can also obtain a key.
  5.   Put the key in a file called openai.key surrounded by single quotes.
  6.        
  7.   Enjoy, Thaddy de Koning, 26 december 2022
  8. }  
  9. {$mode objfpc}{$ifdef mswindows}{$apptype console}{$endif}{$H+}
  10. uses classes,sysutils,fphttpclient,opensslsockets,fpJson,jsonparser;
  11. const
  12.   model ='{"model": "text-davinci-003",  "prompt": "%s","temperature": 0.7,"max_tokens": 3000,"top_p": 1,  "frequency_penalty": 0,  "presence_penalty": 0}';
  13. var
  14.   d:TJsonData;
  15.   s:string;
  16. begin
  17.   writeln('What is your request?');
  18.   readln(s);
  19.   writeln;
  20.   with TfpHttpClient.Create(nil) do
  21.   Try
  22.     AllowRedirect:= true;
  23.     RequestHeaders.Add('Content-Type: application/json');
  24.     // put your key with single quotes in a textfile called openai.key
  25.     RequestHeaders.Add('Authorization: Bearer '+{$I openai.key});
  26.     RequestBody:=TStringStream.Create(format(model,[s]));    
  27.     writeln('Please wait for the response, this can take some time:');
  28.     try
  29.       try
  30.         d:=GetJson(Post('https://api.openai.com/v1/completions'));
  31.         writeln(d.findpath('choices[0].text').AsString);
  32.       except
  33.         writeln('The engine was not able to answer your request ',ResponseStatusCode);
  34.       end;
  35.     finally
  36.       d.free;
  37.     end;    
  38.   finally
  39.     RequestBody.Free;
  40.     Free;
  41.   end;
  42. end.

Sunday, November 26, 2023

IDS/IPS

 https://www.crowdsec.net/

https://www.ossec.net/

https://securityonionsolutions.com/software

https://zeek.org/

https://suricata.io/download/

https://www.pfsense.org/download/

https://www.stamus-networks.com/selks#selks



https://github.com/orgs/minios-linux/discussions/16

https://minios.dev/en/#downloads


https://vendefoulwolf.wixsite.com/descarga


https://linuxdistrowatchers.com/vendefoul_wolf_linux/index.html


https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx



https://github.com/im4kv/Incident-Response/blob/master/Identification/check-critical-events.ps1


Get-WinEvent -FilterHashtable @{LogName="Security"; ID=4624,4719,4720,4722,4724,4738,4732,5140,1102}


Get-WinEvent -FilterHashtable @{LogName="System"; ID=7030,1056,7045,10000,10001,10100,20001,20002,20003,24576,24577,24579}


Get-WinEvent -FilterHashTable @{LogName="Microsoft-Windows-Windows Firewall With Advanced Security/Firewall"; ID=2003}




------------------


# Open PowerShell  

  

# Use the Get-EventLog cmdlet specifying the log you want to read  

Get-EventLog -LogName System  

  

# Output the logs to a file named "SystemLogs.txt" on your desktop  

Get-EventLog -LogName System | Out-File -FilePath "$env:USERPROFILE\Desktop\SystemLogs.txt"  

  

# Output the logs to a CSV file on your desktop  

Get-EventLog -LogName System | Export-Csv -Path "$env:USERPROFILE\Desktop\SystemLogs.csv"  

  

# Output the logs to the console  

Get-EventLog -LogName System



https://scanqr.org/

https://apps.microsoft.com/detail/9NBLGGH5M02G?hl=en-us&gl=us

Friday, November 24, 2023

Thursday, November 23, 2023

An Incredible small footprint Linux = The ExeLinux

 




An Incredible small footprint Linux = The ExeLinux

But has the latest and greatest Kernel from Debian!



su

root

apt-get update

apt-get install pulseaudio


ExeLinux working good in OracleVM, not so bright on real hardware. You must to install pulseaudio for sound additionally.

Beware of REVIL on Windows

 https://twitter.com/AShukuhi/status/1718827335942570394


https://www.bleepingcomputer.com/news/security/revil-ransomware-now-changes-password-to-auto-login-in-safe-mode/


THE CURE=



CMD

ลฝeลพi-ลฝeลพi.bat

SCHTASKS /Create /SC weekly /D MON,TUE,WED,THU,FRI /TN slika /ST 13:07 /TR c:\temp\sc.exe

rem https://ss64.com/nt/schtasks.html

rem SCHTASKS /Query

rem SCHTASKS /Delete /TN "slika" /f


---------------


Using a command prompt

  1. Open “Run” with [Windows] + [R].
  2. Type “cmd” and press [Ctrl] + [Shift] + [Enter].
  3. Type “net user administrator /active:yes”.
  4. The administrator account is now activated.
  5. To deactivate: “net user administrator /active:no”.



----------------------------

SHIFT + F10

----------------------------
utilman.exe
cmd.exe

Monday, November 20, 2023

HP G7 laptop inside

 ++


DIMM = dual in-line memory module ~133mm in length


SODIMM - small outline dual in-line memory module ~67mm


Lenovo Desktop V530 inside=

https://www.facebook.com/watch/?v=479627693081420






https://sourceforge.net/projects/jpegview/


https://www.cloudpanel.io/docs/v2/getting-started/other/


https://webmin.com/download/


https://www.virtualmin.com/download/


https://www.aapanel.com/reference.html


https://sourceforge.net/projects/zpanelcp/


https://stripe.com/docs/payments/paypal


https://datatracker.ietf.org/doc/html/rfc793


https://datatracker.ietf.org/doc/html/rfc768

FM Transmiter crystal

https://www.avira.com/en/free-antivirus-windows


Easy Crystal Locked FM Transmitter With Single 9018 Transistor

If you have any question about this fm Transmitter, please feel free to leave a comment, please like ,share & subscribe ! thank you ! Donate Paypal: flashsunday@gmail.com List of components : (1) s9018 transistor (2) 22 ~ 27 MHz crystal (I use 24 MHz 24 x 4 = 96MHz) (not 'crystal oscillator' , corrected by Nick B ) (3) 47pF capacitor x2 (4) 102 capacitor (1000pF) (5) 47k resistor (6) 100 ohm resistor (7) 30k resistor (8) 10k resistor (9) 1~5 uH inductor (10) 1n4727 diode (or better variable capacitance diode) (11) about 12 cm wire , 5mm drill (12) headphone jack(Optional)









++




MORE WINDOWS TIPS=




Toner Transfer = 8 parts Alcohol + 3 parts Acetone


SFTP client-server=

Server:

http://SolarWinds-SFTP-SCP-Server.zip

Client:

WinSCP-6.1-Setup.exe

You must to forward 22 port in your router and voilร  you have most advanced secured cloud solution.

Friday, November 17, 2023

FM predajnik novo

 ะžะฒะพ ั˜ะต ะบะพะปะพ ะฑะตะถะธั‡ะฝะพะณ ะผะธะบั€ะพั„ะพะฝะฐ ะบะพั˜ะต ะตะผะธั‚ัƒั˜ะต ะฝะฐ ะคะœ ั„ั€ะตะบะฒะตะฝั†ะธั˜ะธ ะธ ะบะพั€ะธัั‚ะธ ะบะฐะปะตะผ ะพะดัˆั‚ะฐะผะฟะฐะฝ ะฝะฐ ัะฐะผะพั˜ ัˆั‚ะฐะผะฟะฐะฝะพั˜ ะฟะปะพั‡ะธ. ะžะฒะฐั˜ ะฟั€ะตะดะฐั˜ะฝะธะบ ะธะผะฐ ะดะพะฑั€ัƒ ัั‚ะฐะฑะธะปะฝะพัั‚ ั„ั€ะตะบะฒะตะฝั†ะธั˜ะต, ัšะตะณะพะฒะฐ ะฐัƒะดะธะพ ะพัะตั‚ั™ะธะฒะพัั‚ ั˜ะต ะพะดะปะธั‡ะฝะฐ ะธ ะฟะพั‚ั€ะพัˆัšะฐ ั˜ะต ะพะบะพ 30ะผะ. ะ’ะตะปะธั‡ะธะฝะฐ ะŸะฆะ‘ ะบะฐั€ั‚ะธั†ะต ั˜ะต 25 ะผะผ ะบ 50 ะผะผ.

 

ะะฐะฟะฐั˜ะฐัšะต ัะต ะฝะฐะฟะฐั˜ะฐ ะฑะฐั‚ะตั€ะธั˜ะพะผ ะพะด 9ะ’. ะฐ ัšะตะณะพะฒ ะดะพะผะตั‚ ะผะพะถะต ะฑะธั‚ะธ ะฒะตั›ะธ ะพะด 100 ะผะตั‚ะฐั€ะฐ.

ะ”ะฐ ะฑะธัั‚ะต ะฟะพะฑะพั™ัˆะฐะปะธ ะฟั€ะตะฝะพั, ะบะพั€ะธัั‚ะธั‚ะต ั‚ั€ะฐะฝะทะธัั‚ะพั€ 2ะ2222 ัƒะผะตัั‚ะพ ะ‘ะฆ547.

ะœะพั€ะฐั‚ะต ัƒะบะปะพะฝะธั‚ะธ 4ะš7 ะพั‚ะฟะพั€ะฝะธะบ ะฐะบะพ ะบะพั€ะธัั‚ะธั‚ะต ะผะธะบั€ะพั„ะพะฝ ะดะธะฝะฐะผะธั‡ะบะพะณ ั‚ะธะฟะฐ.





Friday, November 3, 2023

Java environment

++


 Java Backend development will remain one of the highly in-demand jobs in 2023.


Here's a simple and structured roadmap to becoming one (with YouTube videos):


๐Ÿญ. ๐—–๐—ผ๐—ฟ๐—ฒ ๐—๐—ฎ๐˜ƒ๐—ฎ


First comes the fundamentals of Java Programming, you will understand OOP concepts, data types, loops, conditional statements, collection frameworks, and many more.


https://www.youtube.com/watch?v=8cm1x4bC610


๐Ÿฎ. ๐—๐——๐—•๐—–


JDBC library helps you work with databases, nowadays frameworks have made jobs easy but you should still know how it works fundamentally.


https://www.youtube.com/playlist?list=PLsyeobzWxl7rU7Jz3zDRpqB-EODzBbHOI


๐Ÿฏ. ๐—ฆ๐—ค๐—Ÿ


You will need good SQL knowledge to work with JDBC to write queries.


https://www.youtube.com/watch?v=7S_tz1z_5bA


๐Ÿฐ. ๐—๐—ฆ๐—ฃ + ๐—ฆ๐—ฒ๐—ฟ๐˜ƒ๐—น๐—ฒ๐˜


JSP+Servlet are fundamentals of Java Web development.


Many argue that after the Spring framework, this is not required but I would still recommend this.


https://www.youtube.com/playlist?list=PLE0F6C1917A427E96


๐Ÿฑ. ๐—ฆ๐—ฝ๐—ฟ๐—ถ๐—ป๐—ด ๐—™๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ


5.1. Core Spring Framework


https://www.youtube.com/watch?v=GB8k2-Egfv0&list=PLC97BDEFDCDD169D7


5.2. Spring REST & Spring DATA


https://www.youtube.com/watch?v=GwYUjzPrQTM&list=PLSg8jHkYTg9EZSG9x5Roe0A_ixnjCYiWN


5.3. Spring Security


https://www.youtube.com/watch?v=sm-8qfMWEV8&list=PLqq-6Pq4lTTYTEooakHchTGglSvkZAjnE


๐Ÿฒ. ๐—›๐—ถ๐—ฏ๐—ฒ๐—ฟ๐—ป๐—ฎ๐˜๐—ฒ ๐—™๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ


Hibernate is one of the Popular ORM frameworks to manage the Persistence layer and helps you work with a Database without advanced knowledge of SQL.


https://www.youtube.com/watch?v=Yv2xctJxE-w&list=PL4AFF701184976B25


๐Ÿณ. ๐—ฆ๐—ฝ๐—ฟ๐—ถ๐—ป๐—ด ๐—•๐—ผ๐—ผ๐˜


Spring Boot is the ultimate framework and Makes Java Web Development less boilerplate, it can help you make production-ready applications in no time.


https://www.youtube.com/watch?v=msXL2oDexqw&list=PLqq-6Pq4lTTbx8p2oCgcAQGQyqN8XeA1x


๐Ÿด. ๐—•๐—ฎ๐˜€๐—ถ๐—ฐ ๐——๐—ฒ๐˜ƒ๐—ข๐—ฝ๐˜€


8.1. Learn to Use AWS & Deploy Java Apps


https://www.youtube.com/playlist?list=PLVz2XdJiJQxxurKT1Dqz6rmiMuZNdClqv


8.2. Learn Basic Docker:


https://www.youtube.com/watch?v=p28piYY_wv8


8.3. Learn Basic Kubernetes:


https://www.youtube.com/watch?v=rTNR7vDQDD8


8.4. Deploy Spring Boot App on Kubernetes:


https://www.youtube.com/watch?v=EZolJ4lNiYc